#CF7FE7#CF7FE7
#CF7FE7 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.167 H 318.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7FE7 |
|---|---|
| RGB | rgb(207, 127, 231) |
| HSL | hsl(286, 68%, 70%) |
| HSV | hsv(286, 45%, 91%) |
| CMYK | cmyk(10.4%, 45%, 0%, 9.4%) |
| CIE-LAB | lab(65.13, 47.75, -40.34) |
| CIE-LCH | lch(65.13, 62.51, 319.81°) |
| OKLab | oklab(71.9% 0.1242 -0.1115) |
| OKLCH | oklch(71.9% 0.167 318.1) |
| XYZ | xyz(47.7433, 34.2152, 79.6750) |
| Luminance | 0.3421 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.90
Light Purple
#BF77F6
ΔE00 5.23
Violet (CSS)
#EE82EE
ΔE00 5.42
Lavender Pink
#DD85D7
ΔE00 5.45
Liliac
#C48EFD
ΔE00 5.95
Purply Pink
#F075E6
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7FE7 #97E77F
analogous
#9B7FE7 #CF7FE7 #E77FCB
triadic
#CF7FE7 #E7CF7F #7FE7CF
tetradic
#CF7FE7 #E79B7F #97E77F #7FCBE7
square
#CF7FE7 #E79B7F #97E77F #7FCBE7
split-complementary
#CF7FE7 #CBE77F #7FE79B
monochromatic
#A125C6 #BC4BDD #CF7FE7 #E2B3F1 #F5E5FA
Accessibility & contrast
On white
2.68
#CF7FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#CF7FE7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7FE7
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7FE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7FE7 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E99EB
Deuteranopia (green-blind)
#84A1E4
Tritanopia (blue-blind)
#CF8DA8
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cf7fe7; /* rgb */ color: rgb(207, 127, 231); /* oklch */ color: oklch(71.9% 0.167 318.1);
Tailwind
colors: {
custom: {
50: '#dfa6ef',
500: '#cf7fe7',
950: '#000000',
},
}SCSS
$custom: #cf7fe7; $custom-light: #dfa6ef; $custom-dark: #000000;
JSON
{
"hex": "#cf7fe7",
"rgb": {
"r": 207,
"g": 127,
"b": 231
},
"hsl": {
"h": 286.154,
"s": 68.421,
"l": 70.196
},
"oklch": {
"l": 0.71902,
"c": 0.16694,
"h": 318.1
},
"luminance": 0.34214
}Semantic roles & 50–950 ramp
primary
#CF7FE7
secondary
#D9EFD2
accent
#D01540
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84