#9F4FCB#9F4FCB
#9F4FCB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.0% C 0.192 H 311.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4FCB |
|---|---|
| RGB | rgb(159, 79, 203) |
| HSL | hsl(279, 54%, 55%) |
| HSV | hsv(279, 61%, 80%) |
| CMYK | cmyk(21.7%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(48.61, 53.71, -51.07) |
| CIE-LCH | lch(48.61, 74.11, 316.45°) |
| OKLab | oklab(58% 0.1276 -0.1436) |
| OKLCH | oklch(58% 0.192 311.6) |
| XYZ | xyz(27.8716, 17.2754, 58.3546) |
| Luminance | 0.1727 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.30
Lightish Purple
#A552E6
ΔE00 4.30
Deep Lavender
#8D5EB7
ΔE00 5.52
Purply
#983FB2
ΔE00 5.66
Mediumorchid
#BA55D3
ΔE00 5.86
Darkorchid
#9932CC
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4FCB #7BCB4F
analogous
#614FCB #9F4FCB #CB4FB9
triadic
#9F4FCB #CB9F4F #4FCB9F
tetradic
#9F4FCB #CB614F #7BCB4F #4FB9CB
square
#9F4FCB #CB614F #7BCB4F #4FB9CB
split-complementary
#9F4FCB #B9CB4F #4FCB61
monochromatic
#5C247B #8032AA #9F4FCB #B97ED9 #D3ADE7
Accessibility & contrast
On white
4.71
#9F4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#9F4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4FCB
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4FCB | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6FCF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#9A6686
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9f4fcb; /* rgb */ color: rgb(159, 79, 203); /* oklch */ color: oklch(58.0% 0.192 311.6);
Tailwind
colors: {
custom: {
50: '#bf85db',
500: '#9f4fcb',
950: '#000000',
},
}SCSS
$custom: #9f4fcb; $custom-light: #bf85db; $custom-dark: #000000;
JSON
{
"hex": "#9f4fcb",
"rgb": {
"r": 159,
"g": 79,
"b": 203
},
"hsl": {
"h": 278.71,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.58002,
"c": 0.19216,
"h": 311.6
},
"luminance": 0.17275
}Semantic roles & 50–950 ramp
primary
#9F4FCB
secondary
#B3D5A1
accent
#DE4A7E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83