#CD7FFB#CD7FFB
#CD7FFB is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.7% C 0.188 H 311.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FFB |
|---|---|
| RGB | rgb(205, 127, 251) |
| HSL | hsl(278, 94%, 74%) |
| HSV | hsv(278, 49%, 98%) |
| CMYK | cmyk(18.3%, 49.4%, 0%, 1.6%) |
| CIE-LAB | lab(65.84, 51.32, -50.26) |
| CIE-LCH | lch(65.84, 71.83, 315.60°) |
| OKLab | oklab(72.69% 0.1246 -0.1403) |
| OKLCH | oklch(72.69% 0.188 311.6) |
| XYZ | xyz(50.1757, 35.1239, 95.3845) |
| Luminance | 0.3512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.11
Liliac
#C48EFD
ΔE00 4.02
Easter Purple
#C071FE
ΔE00 4.19
Light Urple
#B36FF6
ΔE00 6.10
Bright Lavender
#C760FF
ΔE00 6.64
Bright Lilac
#C95EFB
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FFB #ADFB7F
analogous
#8F7FFB #CD7FFB #FB7FEB
triadic
#CD7FFB #FBCD7F #7FFBCD
tetradic
#CD7FFB #FB8F7F #ADFB7F #7FEBFB
square
#CD7FFB #FB8F7F #ADFB7F #7FEBFB
split-complementary
#CD7FFB #EBFB7F #7FFB8F
monochromatic
#9F08F7 #B644F9 #CD7FFB #E4BAFD #F3E1FE
Accessibility & contrast
On white
2.62
#CD7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#CD7FFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FFB
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FFB | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#C893B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cd7ffb; /* rgb */ color: rgb(205, 127, 251); /* oklch */ color: oklch(72.7% 0.188 311.6);
Tailwind
colors: {
custom: {
50: '#dfa6fd',
500: '#cd7ffb',
950: '#000000',
},
}SCSS
$custom: #cd7ffb; $custom-light: #dfa6fd; $custom-dark: #000000;
JSON
{
"hex": "#cd7ffb",
"rgb": {
"r": 205,
"g": 127,
"b": 251
},
"hsl": {
"h": 277.742,
"s": 93.939,
"l": 74.118
},
"oklch": {
"l": 0.72687,
"c": 0.18758,
"h": 311.6
},
"luminance": 0.35123
}Semantic roles & 50–950 ramp
primary
#CD7FFB
secondary
#E1F6D5
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86