#C742E2#C742E2
#C742E2 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 63.1% C 0.245 H 320.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C742E2 |
|---|---|
| RGB | rgb(199, 66, 226) |
| HSL | hsl(290, 73%, 57%) |
| HSV | hsv(290, 71%, 89%) |
| CMYK | cmyk(11.9%, 70.8%, 0%, 11.4%) |
| CIE-LAB | lab(53.53, 72.58, -55.99) |
| CIE-LCH | lch(53.53, 91.67, 322.35°) |
| OKLab | oklab(63.12% 0.1889 -0.1568) |
| OKLCH | oklch(63.12% 0.246 320.3) |
| XYZ | xyz(39.2272, 21.5315, 74.0265) |
| Luminance | 0.2153 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 3.16
Mediumorchid
#BA55D3
ΔE00 3.40
Pinkish Purple
#D648D7
ΔE00 4.11
Hot Purple
#CB00F5
ΔE00 4.69
Heliotrope
#D94FF5
ΔE00 5.05
Pink Purple
#EF1DE7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C742E2 #5DE242
analogous
#7742E2 #C742E2 #E242AD
triadic
#C742E2 #E2C742 #42E2C7
tetradic
#C742E2 #E27742 #5DE242 #42ADE2
square
#C742E2 #E27742 #5DE242 #42ADE2
split-complementary
#C742E2 #ADE242 #42E277
monochromatic
#7E1793 #AC1FC8 #C742E2 #D777EA #E6ACF2
Accessibility & contrast
On white
3.96
#C742E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#C742E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C742E2
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C742E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C742E2 | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#5185DE
Tritanopia (blue-blind)
#C8608E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #c742e2; /* rgb */ color: rgb(199, 66, 226); /* oklch */ color: oklch(63.1% 0.245 320.3);
Tailwind
colors: {
custom: {
50: '#dc82ec',
500: '#c742e2',
950: '#000000',
},
}SCSS
$custom: #c742e2; $custom-light: #dc82ec; $custom-dark: #000000;
JSON
{
"hex": "#c742e2",
"rgb": {
"r": 199,
"g": 66,
"b": 226
},
"hsl": {
"h": 289.875,
"s": 73.394,
"l": 57.255
},
"oklch": {
"l": 0.63119,
"c": 0.2455,
"h": 320.3
},
"luminance": 0.2153
}Semantic roles & 50–950 ramp
primary
#C742E2
secondary
#AAE09F
accent
#F03857
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160B16
muted
#847C84