#8F2CA8#8F2CA8
#8F2CA8 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.198 H 318.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2CA8 |
|---|---|
| RGB | rgb(143, 44, 168) |
| HSL | hsl(288, 58%, 42%) |
| HSV | hsv(288, 74%, 66%) |
| CMYK | cmyk(14.9%, 73.8%, 0%, 34.1%) |
| CIE-LAB | lab(38.67, 58.21, -46.60) |
| CIE-LCH | lch(38.67, 74.56, 321.32°) |
| OKLab | oklab(49.7% 0.1485 -0.1308) |
| OKLCH | oklch(49.7% 0.198 318.6) |
| XYZ | xyz(19.2953, 10.4691, 38.0426) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.38
Purple (survey)
#7E1E9C
ΔE00 4.38
Barney
#AC1DB8
ΔE00 5.14
Barney Purple
#A00498
ΔE00 5.25
Warm Purple
#952E8F
ΔE00 5.39
Darkorchid
#9932CC
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2CA8 #45A82C
analogous
#512CA8 #8F2CA8 #A82C83
triadic
#8F2CA8 #A88F2C #2CA88F
tetradic
#8F2CA8 #A8512C #45A82C #2C83A8
square
#8F2CA8 #A8512C #45A82C #2C83A8
split-complementary
#8F2CA8 #83A82C #2CA851
monochromatic
#3C1347 #661F78 #8F2CA8 #B243CE #C674DB
Accessibility & contrast
On white
6.79
#8F2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#8F2CA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2CA8
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2CA8 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#335EA5
Tritanopia (blue-blind)
#8F4568
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8f2ca8; /* rgb */ color: rgb(143, 44, 168); /* oklch */ color: oklch(49.7% 0.198 318.6);
Tailwind
colors: {
custom: {
50: '#b46fc2',
500: '#8f2ca8',
950: '#000000',
},
}SCSS
$custom: #8f2ca8; $custom-light: #b46fc2; $custom-dark: #000000;
JSON
{
"hex": "#8f2ca8",
"rgb": {
"r": 143,
"g": 44,
"b": 168
},
"hsl": {
"h": 287.903,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.49698,
"c": 0.19795,
"h": 318.6
},
"luminance": 0.10468
}Semantic roles & 50–950 ramp
primary
#8F2CA8
secondary
#7FC26E
accent
#E24665
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81