#CD7FFF#CD7FFF
#CD7FFF is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.9% C 0.192 H 310.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FFF |
|---|---|
| RGB | rgb(205, 127, 255) |
| HSL | hsl(277, 100%, 75%) |
| HSV | hsv(277, 50%, 100%) |
| CMYK | cmyk(19.6%, 50.2%, 0%, 0%) |
| CIE-LAB | lab(66.04, 52.17, -52.13) |
| CIE-LCH | lch(66.04, 73.75, 315.02°) |
| OKLab | oklab(72.9% 0.125 -0.1457) |
| OKLCH | oklch(72.9% 0.192 310.6) |
| XYZ | xyz(50.8129, 35.3788, 98.7404) |
| Luminance | 0.3538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.11
Liliac
#C48EFD
ΔE00 3.94
Easter Purple
#C071FE
ΔE00 4.01
Light Urple
#B36FF6
ΔE00 6.00
Bright Lavender
#C760FF
ΔE00 6.55
Bright Lilac
#C95EFB
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FFF #B1FF7F
analogous
#8D7FFF #CD7FFF #FF7FF1
triadic
#CD7FFF #FFCD7F #7FFFCD
tetradic
#CD7FFF #FF8D7F #B1FF7F #7FF1FF
square
#CD7FFF #FF8D7F #B1FF7F #7FF1FF
split-complementary
#CD7FFF #F1FF7F #7FFF8D
monochromatic
#9D05FF #B542FF #CD7FFF #E5BCFF #F3E0FF
Accessibility & contrast
On white
2.60
#CD7FFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#CD7FFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FFF
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FFF | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#C794B3
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cd7fff; /* rgb */ color: rgb(205, 127, 255); /* oklch */ color: oklch(72.9% 0.192 310.6);
Tailwind
colors: {
custom: {
50: '#dfa6ff',
500: '#cd7fff',
950: '#000000',
},
}SCSS
$custom: #cd7fff; $custom-light: #dfa6ff; $custom-dark: #000000;
JSON
{
"hex": "#cd7fff",
"rgb": {
"r": 205,
"g": 127,
"b": 255
},
"hsl": {
"h": 276.563,
"s": 100,
"l": 74.902
},
"oklch": {
"l": 0.72898,
"c": 0.19196,
"h": 310.6
},
"luminance": 0.35378
}Semantic roles & 50–950 ramp
primary
#CD7FFF
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86