#8F49C2#8F49C2
#8F49C2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.186 H 308.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8F49C2 |
|---|---|
| RGB | rgb(143, 73, 194) |
| HSL | hsl(275, 50%, 52%) |
| HSV | hsv(275, 62%, 76%) |
| CMYK | cmyk(26.3%, 62.4%, 0%, 23.9%) |
| CIE-LAB | lab(44.94, 50.90, -51.85) |
| CIE-LCH | lch(44.94, 72.66, 314.47°) |
| OKLab | oklab(54.73% 0.1146 -0.1464) |
| OKLCH | oklch(54.73% 0.186 308.1) |
| XYZ | xyz(23.4459, 14.5001, 52.5921) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.08
Darkorchid
#9932CC
ΔE00 4.10
Royal Purple
#7851A9
ΔE00 5.84
Deep Lavender
#8D5EB7
ΔE00 5.88
Amethyst
#9B5FC0
ΔE00 6.63
Purpley
#8756E4
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F49C2 #7CC249
analogous
#5349C2 #8F49C2 #C249B8
triadic
#8F49C2 #C28F49 #49C28F
tetradic
#8F49C2 #C25349 #7CC249 #49B8C2
square
#8F49C2 #C25349 #7CC249 #49B8C2
split-complementary
#8F49C2 #B8C249 #49C253
monochromatic
#4E246C #6F349A #8F49C2 #AB77D1 #C7A5E1
Accessibility & contrast
On white
5.38
#8F49C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#8F49C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F49C2
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F49C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F49C2 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0568C6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#87617F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8f49c2; /* rgb */ color: rgb(143, 73, 194); /* oklch */ color: oklch(54.7% 0.186 308.1);
Tailwind
colors: {
custom: {
50: '#b380d5',
500: '#8f49c2',
950: '#000000',
},
}SCSS
$custom: #8f49c2; $custom-light: #b380d5; $custom-dark: #000000;
JSON
{
"hex": "#8f49c2",
"rgb": {
"r": 143,
"g": 73,
"b": 194
},
"hsl": {
"h": 274.711,
"s": 49.794,
"l": 52.353
},
"oklch": {
"l": 0.54732,
"c": 0.18594,
"h": 308.1
},
"luminance": 0.145
}Semantic roles & 50–950 ramp
primary
#8F49C2
secondary
#AFCE99
accent
#D94E89
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83