#9F54CF#9F54CF
#9F54CF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.9% C 0.189 H 310.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9F54CF |
|---|---|
| RGB | rgb(159, 84, 207) |
| HSL | hsl(277, 56%, 57%) |
| HSV | hsv(277, 59%, 81%) |
| CMYK | cmyk(23.2%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(49.76, 52.11, -51.52) |
| CIE-LCH | lch(49.76, 73.28, 315.33°) |
| OKLab | oklab(58.92% 0.1215 -0.145) |
| OKLCH | oklch(58.92% 0.189 310) |
| XYZ | xyz(28.7287, 18.2171, 61.0222) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.44
Amethyst
#9B5FC0
ΔE00 3.69
Deep Lavender
#8D5EB7
ΔE00 5.29
Mediumorchid
#BA55D3
ΔE00 5.38
Lighter Purple
#A55AF4
ΔE00 5.89
Purpley
#8756E4
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F54CF #84CF54
analogous
#6254CF #9F54CF #CF54C2
triadic
#9F54CF #CF9F54 #54CF9F
tetradic
#9F54CF #CF6254 #84CF54 #54C2CF
square
#9F54CF #CF6254 #84CF54 #54C2CF
split-complementary
#9F54CF #C2CF54 #54CF62
monochromatic
#5F2584 #8132B3 #9F54CF #BA84DC #D5B4EA
Accessibility & contrast
On white
4.52
#9F54CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#9F54CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F54CF
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F54CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F54CF | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#996B8A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9f54cf; /* rgb */ color: rgb(159, 84, 207); /* oklch */ color: oklch(58.9% 0.189 310.0);
Tailwind
colors: {
custom: {
50: '#bf88de',
500: '#9f54cf',
950: '#000000',
},
}SCSS
$custom: #9f54cf; $custom-light: #bf88de; $custom-dark: #000000;
JSON
{
"hex": "#9f54cf",
"rgb": {
"r": 159,
"g": 84,
"b": 207
},
"hsl": {
"h": 276.585,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.58917,
"c": 0.18914,
"h": 310
},
"luminance": 0.18217
}Semantic roles & 50–950 ramp
primary
#9F54CF
secondary
#BAD8A6
accent
#DF4883
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83