#C148E7#C148E7
#C148E7 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.2% C 0.241 H 316.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #C148E7 |
|---|---|
| RGB | rgb(193, 72, 231) |
| HSL | hsl(286, 77%, 59%) |
| HSV | hsv(286, 69%, 91%) |
| CMYK | cmyk(16.5%, 68.8%, 0%, 9.4%) |
| CIE-LAB | lab(53.75, 70.03, -58.49) |
| CIE-LCH | lch(53.75, 91.24, 320.13°) |
| OKLab | oklab(63.2% 0.1757 -0.1643) |
| OKLCH | oklch(63.2% 0.241 316.9) |
| XYZ | xyz(38.7313, 21.7433, 77.7425) |
| Luminance | 0.2174 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.37
Purple Pink
#D725DE
ΔE00 4.56
Lightish Purple
#A552E6
ΔE00 4.85
Hot Purple
#CB00F5
ΔE00 4.91
Heliotrope
#D94FF5
ΔE00 5.05
Pinkish Purple
#D648D7
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C148E7 #6EE748
analogous
#7148E7 #C148E7 #E748BE
triadic
#C148E7 #E7C148 #48E7C1
tetradic
#C148E7 #E77148 #6EE748 #48BEE7
square
#C148E7 #E77148 #6EE748 #48BEE7
split-complementary
#C148E7 #BEE748 #48E771
monochromatic
#7F15A0 #A91CD6 #C148E7 #D37EEE #E6B4F5
Accessibility & contrast
On white
3.93
#C148E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#C148E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C148E7
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C148E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C148E7 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#4B84E3
Tritanopia (blue-blind)
#BF6793
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #c148e7; /* rgb */ color: rgb(193, 72, 231); /* oklch */ color: oklch(63.2% 0.241 316.9);
Tailwind
colors: {
custom: {
50: '#d885ef',
500: '#c148e7',
950: '#000000',
},
}SCSS
$custom: #c148e7; $custom-light: #d885ef; $custom-dark: #000000;
JSON
{
"hex": "#c148e7",
"rgb": {
"r": 193,
"g": 72,
"b": 231
},
"hsl": {
"h": 285.66,
"s": 76.812,
"l": 59.412
},
"oklch": {
"l": 0.63203,
"c": 0.2406,
"h": 316.9
},
"luminance": 0.21742
}Semantic roles & 50–950 ramp
primary
#C148E7
secondary
#B5E4A6
accent
#F33462
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85