#C262DB#C262DB
#C262DB is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.6% C 0.195 H 319.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C262DB |
|---|---|
| RGB | rgb(194, 98, 219) |
| HSL | hsl(288, 63%, 62%) |
| HSV | hsv(288, 55%, 86%) |
| CMYK | cmyk(11.4%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(57.39, 56.49, -45.93) |
| CIE-LCH | lch(57.39, 72.81, 320.88°) |
| OKLab | oklab(65.65% 0.1468 -0.1278) |
| OKLCH | oklch(65.65% 0.195 319) |
| XYZ | xyz(39.4003, 25.3208, 69.8161) |
| Luminance | 0.2532 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.59
Bright Lilac
#C95EFB
ΔE00 4.66
Heliotrope
#D94FF5
ΔE00 4.85
Pinkish Purple
#D648D7
ΔE00 4.86
Bright Lavender
#C760FF
ΔE00 5.26
Light Urple
#B36FF6
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C262DB #7BDB62
analogous
#8562DB #C262DB #DB62B8
triadic
#C262DB #DBC262 #62DBC2
tetradic
#C262DB #DB8562 #7BDB62 #62B8DB
square
#C262DB #DB8562 #7BDB62 #62B8DB
split-complementary
#C262DB #B8DB62 #62DB85
monochromatic
#85249E #AF30D0 #C262DB #D594E6 #E9C6F2
Accessibility & contrast
On white
3.46
#C262DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#C262DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C262DB
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C262DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C262DB | 1.00 | 3.46 | 6.06 | 6.06 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#698DD8
Tritanopia (blue-blind)
#C27495
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c262db; /* rgb */ color: rgb(194, 98, 219); /* oklch */ color: oklch(65.6% 0.195 319.0);
Tailwind
colors: {
custom: {
50: '#d793e6',
500: '#c262db',
950: '#000000',
},
}SCSS
$custom: #c262db; $custom-light: #d793e6; $custom-dark: #000000;
JSON
{
"hex": "#c262db",
"rgb": {
"r": 194,
"g": 98,
"b": 219
},
"hsl": {
"h": 287.603,
"s": 62.694,
"l": 62.157
},
"oklch": {
"l": 0.65647,
"c": 0.19463,
"h": 319
},
"luminance": 0.25319
}Semantic roles & 50–950 ramp
primary
#C262DB
secondary
#BFE3B6
accent
#CA1B3F
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84