#C157F2#C157F2
#C157F2 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.5% C 0.232 H 313.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C157F2 |
|---|---|
| RGB | rgb(193, 87, 242) |
| HSL | hsl(281, 86%, 65%) |
| HSV | hsv(281, 64%, 95%) |
| CMYK | cmyk(20.2%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(56.65, 65.94, -60.01) |
| CIE-LCH | lch(56.65, 89.16, 317.70°) |
| OKLab | oklab(65.49% 0.1592 -0.1689) |
| OKLCH | oklch(65.49% 0.232 313.3) |
| XYZ | xyz(41.4248, 24.5659, 86.5467) |
| Luminance | 0.2457 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.44
Bright Lavender
#C760FF
ΔE00 2.84
Heliotrope
#D94FF5
ΔE00 3.86
Mediumorchid
#BA55D3
ΔE00 4.70
Lighter Purple
#A55AF4
ΔE00 5.01
Light Urple
#B36FF6
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C157F2 #88F257
analogous
#7457F2 #C157F2 #F257D6
triadic
#C157F2 #F2C157 #57F2C1
tetradic
#C157F2 #F27457 #88F257 #57D6F2
square
#C157F2 #F27457 #88F257 #57D6F2
split-complementary
#C157F2 #D6F257 #57F274
monochromatic
#880FC0 #AC1EEE #C157F2 #D690F6 #EBC9FB
Accessibility & contrast
On white
3.55
#C157F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#C157F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C157F2
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C157F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C157F2 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#4E8AEE
Tritanopia (blue-blind)
#BC759D
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #c157f2; /* rgb */ color: rgb(193, 87, 242); /* oklch */ color: oklch(65.5% 0.232 313.3);
Tailwind
colors: {
custom: {
50: '#d88df7',
500: '#c157f2',
950: '#000000',
},
}SCSS
$custom: #c157f2; $custom-light: #d88df7; $custom-dark: #000000;
JSON
{
"hex": "#c157f2",
"rgb": {
"r": 193,
"g": 87,
"b": 242
},
"hsl": {
"h": 281.032,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.65493,
"c": 0.23207,
"h": 313.3
},
"luminance": 0.24565
}Semantic roles & 50–950 ramp
primary
#C157F2
secondary
#C9EDB8
accent
#E2034A
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85