#8F4FCB#8F4FCB
#8F4FCB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.187 H 304.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4FCB |
|---|---|
| RGB | rgb(143, 79, 203) |
| HSL | hsl(271, 54%, 55%) |
| HSV | hsv(271, 61%, 80%) |
| CMYK | cmyk(29.6%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(46.64, 49.95, -54.33) |
| CIE-LCH | lch(46.64, 73.81, 312.59°) |
| OKLab | oklab(56.14% 0.1071 -0.1537) |
| OKLCH | oklch(56.14% 0.187 304.9) |
| XYZ | xyz(24.9008, 15.7435, 58.2153) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.73
Deep Lavender
#8D5EB7
ΔE00 5.33
Darkorchid
#9932CC
ΔE00 5.36
Lightish Purple
#A552E6
ΔE00 5.60
Amethyst
#9B5FC0
ΔE00 5.80
Purply
#983FB2
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4FCB #8BCB4F
analogous
#514FCB #8F4FCB #CB4FC9
triadic
#8F4FCB #CB8F4F #4FCB8F
tetradic
#8F4FCB #CB514F #8BCB4F #4FC9CB
square
#8F4FCB #CB514F #8BCB4F #4FC9CB
split-complementary
#8F4FCB #C9CB4F #4FCB51
monochromatic
#51247B #7032AA #8F4FCB #AD7ED9 #CBADE7
Accessibility & contrast
On white
5.06
#8F4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#8F4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4FCB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4FCB | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#066DCF
Deuteranopia (green-blind)
#326FC8
Tritanopia (blue-blind)
#846886
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8f4fcb; /* rgb */ color: rgb(143, 79, 203); /* oklch */ color: oklch(56.1% 0.187 304.9);
Tailwind
colors: {
custom: {
50: '#b483db',
500: '#8f4fcb',
950: '#000000',
},
}SCSS
$custom: #8f4fcb; $custom-light: #b483db; $custom-dark: #000000;
JSON
{
"hex": "#8f4fcb",
"rgb": {
"r": 143,
"g": 79,
"b": 203
},
"hsl": {
"h": 270.968,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.56144,
"c": 0.18735,
"h": 304.9
},
"luminance": 0.15743
}Semantic roles & 50–950 ramp
primary
#8F4FCB
secondary
#BAD5A1
accent
#DE4A92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83