#CF7AFB#CF7AFB
#CF7AFB is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.2% C 0.196 H 312.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7AFB |
|---|---|
| RGB | rgb(207, 122, 251) |
| HSL | hsl(280, 94%, 73%) |
| HSV | hsv(280, 51%, 98%) |
| CMYK | cmyk(17.5%, 51.4%, 0%, 1.6%) |
| CIE-LAB | lab(65.08, 54.41, -51.45) |
| CIE-LCH | lch(65.08, 74.88, 316.60°) |
| OKLab | oklab(72.17% 0.1335 -0.1437) |
| OKLCH | oklch(72.17% 0.196 312.9) |
| XYZ | xyz(50.1013, 34.1507, 95.2006) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.91
Easter Purple
#C071FE
ΔE00 3.68
Liliac
#C48EFD
ΔE00 5.12
Bright Lavender
#C760FF
ΔE00 5.72
Light Urple
#B36FF6
ΔE00 5.75
Bright Lilac
#C95EFB
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7AFB #A6FB7A
analogous
#8E7AFB #CF7AFB #FB7AE6
triadic
#CF7AFB #FBCF7A #7AFBCF
tetradic
#CF7AFB #FB8E7A #A6FB7A #7AE6FB
square
#CF7AFB #FB8E7A #A6FB7A #7AE6FB
split-complementary
#CF7AFB #E6FB7A #7AFB8E
monochromatic
#A307F3 #BA3FF9 #CF7AFB #E4B5FD #F4E1FE
Accessibility & contrast
On white
2.68
#CF7AFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#CF7AFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7AFB
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7AFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7AFB | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#CB8FAF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cf7afb; /* rgb */ color: rgb(207, 122, 251); /* oklch */ color: oklch(72.2% 0.196 312.9);
Tailwind
colors: {
custom: {
50: '#e0a3fd',
500: '#cf7afb',
950: '#000000',
},
}SCSS
$custom: #cf7afb; $custom-light: #e0a3fd; $custom-dark: #000000;
JSON
{
"hex": "#cf7afb",
"rgb": {
"r": 207,
"g": 122,
"b": 251
},
"hsl": {
"h": 279.535,
"s": 94.161,
"l": 73.137
},
"oklch": {
"l": 0.72172,
"c": 0.19611,
"h": 312.9
},
"luminance": 0.34149
}Semantic roles & 50–950 ramp
primary
#CF7AFB
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86