#C757F2#C757F2
#C757F2 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.234 H 315.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C757F2 |
|---|---|
| RGB | rgb(199, 87, 242) |
| HSL | hsl(283, 86%, 65%) |
| HSV | hsv(283, 64%, 95%) |
| CMYK | cmyk(17.8%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(57.43, 67.26, -58.71) |
| CIE-LCH | lch(57.43, 89.28, 318.89°) |
| OKLab | oklab(66.22% 0.1664 -0.1649) |
| OKLCH | oklch(66.22% 0.234 315.3) |
| XYZ | xyz(42.9858, 25.3708, 86.6199) |
| Luminance | 0.2537 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.93
Bright Lavender
#C760FF
ΔE00 2.58
Heliotrope
#D94FF5
ΔE00 2.83
Mediumorchid
#BA55D3
ΔE00 4.86
Easter Purple
#C071FE
ΔE00 5.48
Light Urple
#B36FF6
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C757F2 #82F257
analogous
#7A57F2 #C757F2 #F257CF
triadic
#C757F2 #F2C757 #57F2C7
tetradic
#C757F2 #F27A57 #82F257 #57CFF2
square
#C757F2 #F27A57 #82F257 #57CFF2
split-complementary
#C757F2 #CFF257 #57F27A
monochromatic
#8F0FC0 #B41EEE #C757F2 #DA90F6 #EDC9FB
Accessibility & contrast
On white
3.46
#C757F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#C757F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C757F2
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C757F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C757F2 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1083F7
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#C4749D
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c757f2; /* rgb */ color: rgb(199, 87, 242); /* oklch */ color: oklch(66.2% 0.234 315.3);
Tailwind
colors: {
custom: {
50: '#dc8df7',
500: '#c757f2',
950: '#000000',
},
}SCSS
$custom: #c757f2; $custom-light: #dc8df7; $custom-dark: #000000;
JSON
{
"hex": "#c757f2",
"rgb": {
"r": 199,
"g": 87,
"b": 242
},
"hsl": {
"h": 283.355,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.66223,
"c": 0.23423,
"h": 315.3
},
"luminance": 0.25369
}Semantic roles & 50–950 ramp
primary
#C757F2
secondary
#C6EDB8
accent
#E20341
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85