#CB84F0#CB84F0
#CB84F0 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.7% C 0.167 H 313.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CB84F0 |
|---|---|
| RGB | rgb(203, 132, 240) |
| HSL | hsl(279, 78%, 73%) |
| HSV | hsv(279, 45%, 94%) |
| CMYK | cmyk(15.4%, 45%, 0%, 5.9%) |
| CIE-LAB | lab(66.13, 45.83, -43.78) |
| CIE-LCH | lch(66.13, 63.38, 316.31°) |
| OKLab | oklab(72.68% 0.114 -0.1215) |
| OKLCH | oklch(72.68% 0.167 313.2) |
| XYZ | xyz(48.6054, 35.4914, 86.7112) |
| Luminance | 0.3549 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.76
Light Purple
#BF77F6
ΔE00 4.32
Baby Purple
#CA9BF7
ΔE00 5.76
Easter Purple
#C071FE
ΔE00 5.82
Violet (CSS)
#EE82EE
ΔE00 6.61
Orchid
#DA70D6
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB84F0 #A9F084
analogous
#9584F0 #CB84F0 #F084DF
triadic
#CB84F0 #F0CB84 #84F0CB
tetradic
#CB84F0 #F09584 #A9F084 #84DFF0
square
#CB84F0 #F09584 #A9F084 #84DFF0
split-complementary
#CB84F0 #DFF084 #84F095
monochromatic
#9C1BDE #B44DE9 #CB84F0 #E2BBF7 #F3E4FC
Accessibility & contrast
On white
2.59
#CB84F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#CB84F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB84F0
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB84F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB84F0 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9DF4
Deuteranopia (green-blind)
#81A2ED
Tritanopia (blue-blind)
#C894AF
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cb84f0; /* rgb */ color: rgb(203, 132, 240); /* oklch */ color: oklch(72.7% 0.167 313.2);
Tailwind
colors: {
custom: {
50: '#dda9f5',
500: '#cb84f0',
950: '#000000',
},
}SCSS
$custom: #cb84f0; $custom-light: #dda9f5; $custom-dark: #000000;
JSON
{
"hex": "#cb84f0",
"rgb": {
"r": 203,
"g": 132,
"b": 240
},
"hsl": {
"h": 279.444,
"s": 78.261,
"l": 72.941
},
"oklch": {
"l": 0.7268,
"c": 0.16666,
"h": 313.2
},
"luminance": 0.3549
}Semantic roles & 50–950 ramp
primary
#CB84F0
secondary
#E1F3D8
accent
#DB0B52
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85