#9F48CF#9F48CF
#9F48CF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.206 H 311.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9F48CF |
|---|---|
| RGB | rgb(159, 72, 207) |
| HSL | hsl(279, 58%, 55%) |
| HSV | hsv(279, 65%, 81%) |
| CMYK | cmyk(23.2%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(47.64, 57.90, -54.92) |
| CIE-LCH | lch(47.64, 79.80, 316.51°) |
| OKLab | oklab(57.38% 0.1357 -0.1549) |
| OKLCH | oklch(57.38% 0.206 311.2) |
| XYZ | xyz(27.8758, 16.5113, 60.7379) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.48
Lightish Purple
#A552E6
ΔE00 4.50
Purply
#983FB2
ΔE00 5.24
Amethyst
#9B5FC0
ΔE00 5.86
Vibrant Purple
#AD03DE
ΔE00 6.22
Purpley
#8756E4
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F48CF #78CF48
analogous
#5C48CF #9F48CF #CF48BB
triadic
#9F48CF #CF9F48 #48CF9F
tetradic
#9F48CF #CF5C48 #78CF48 #48BBCF
square
#9F48CF #CF5C48 #78CF48 #48BBCF
split-complementary
#9F48CF #BBCF48 #48CF5C
monochromatic
#5C217C #7F2DAD #9F48CF #B878DC #D2A9E8
Accessibility & contrast
On white
4.88
#9F48CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#9F48CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F48CF
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F48CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F48CF | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#996385
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9f48cf; /* rgb */ color: rgb(159, 72, 207); /* oklch */ color: oklch(57.4% 0.206 311.2);
Tailwind
colors: {
custom: {
50: '#bf81de',
500: '#9f48cf',
950: '#000000',
},
}SCSS
$custom: #9f48cf; $custom-light: #bf81de; $custom-dark: #000000;
JSON
{
"hex": "#9f48cf",
"rgb": {
"r": 159,
"g": 72,
"b": 207
},
"hsl": {
"h": 278.667,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.57382,
"c": 0.20594,
"h": 311.2
},
"luminance": 0.16511
}Semantic roles & 50–950 ramp
primary
#9F48CF
secondary
#B1D69D
accent
#E2467D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83