#C156F2#C156F2
#C156F2 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.233 H 313.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #C156F2 |
|---|---|
| RGB | rgb(193, 86, 242) |
| HSL | hsl(281, 86%, 64%) |
| HSV | hsv(281, 64%, 95%) |
| CMYK | cmyk(20.2%, 64.5%, 0%, 5.1%) |
| CIE-LAB | lab(56.49, 66.38, -60.26) |
| CIE-LCH | lch(56.49, 89.66, 317.77°) |
| OKLab | oklab(65.38% 0.1603 -0.1696) |
| OKLCH | oklch(65.38% 0.233 313.4) |
| XYZ | xyz(41.3444, 24.4051, 86.5199) |
| Luminance | 0.2440 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.58
Bright Lavender
#C760FF
ΔE00 2.98
Heliotrope
#D94FF5
ΔE00 3.88
Mediumorchid
#BA55D3
ΔE00 4.65
Lighter Purple
#A55AF4
ΔE00 4.97
Light Urple
#B36FF6
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C156F2 #87F256
analogous
#7356F2 #C156F2 #F256D5
triadic
#C156F2 #F2C156 #56F2C1
tetradic
#C156F2 #F27356 #87F256 #56D5F2
square
#C156F2 #F27356 #87F256 #56D5F2
split-complementary
#C156F2 #D5F256 #56F273
monochromatic
#880FBF #AC1DEE #C156F2 #D68FF6 #EBC8FB
Accessibility & contrast
On white
3.57
#C156F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#C156F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C156F2
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C156F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C156F2 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#4D8AEE
Tritanopia (blue-blind)
#BC749D
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #c156f2; /* rgb */ color: rgb(193, 86, 242); /* oklch */ color: oklch(65.4% 0.233 313.4);
Tailwind
colors: {
custom: {
50: '#d88cf7',
500: '#c156f2',
950: '#000000',
},
}SCSS
$custom: #c156f2; $custom-light: #d88cf7; $custom-dark: #000000;
JSON
{
"hex": "#c156f2",
"rgb": {
"r": 193,
"g": 86,
"b": 242
},
"hsl": {
"h": 281.154,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.65378,
"c": 0.23336,
"h": 313.4
},
"luminance": 0.24404
}Semantic roles & 50–950 ramp
primary
#C156F2
secondary
#C8EDB7
accent
#E20349
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D17
muted
#837D85