#8A2FDF

A color in the Purple, Crimson, Magenta family

#8a2fdf is a color in the Purple, Crimson, Magenta family: RGB(138, 47, 223), HSL(271°, 73%, 53%), CMYK(38%, 79%, 0%, 13%). Closest named color: blueviolet. Contrast is 5.91:1 on white and 3.55:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a2fdf
RGBrgb(138 47 223)
RGB (legacy)rgb(138, 47, 223)
RGB %rgb(54% 18% 87%)
HSLhsl(271 73% 53%)
HSV / HSBhsv(271, 79%, 87%)
HWBhwb(271 18% 13%)
CMYKcmyk(38%, 79%, 0%, 13%)
CIELAB (D50)lab(41.48 61.14 -73.82)
LCHlch(41.48 95.85 309.63)
OKLaboklab(0.5345 0.1284 -0.2077)
OKLCHoklch(0.5345 0.2442 301.73)
Decimal9056223

Properties

Color TonePurple, Crimson, Magenta
Closest named colorblueviolet ΔE 0.6
Closest web-safe color#9933cc
Hue271°
Saturation (HSL / HSV)73% / 79%
Lightness (HSL)53%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)37% / 31%
Relative luminance (WCAG)0.1276
Red / Green / Blue138 / 47 / 223

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.91:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.55:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 78.3 / -23.4 · As background with white / black text: Lc -83.6 / 25.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8a2fdf;
  --color-brand-oklch: oklch(53.45% 0.2442 301.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 47 223 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a2fdf] text-[#8a2fdf] border-[#8a2fdf]">