#C182F8#C182F8
#C182F8 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.7% C 0.175 H 307.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #C182F8 |
|---|---|
| RGB | rgb(193, 130, 248) |
| HSL | hsl(272, 89%, 74%) |
| HSV | hsv(272, 48%, 97%) |
| CMYK | cmyk(22.2%, 47.6%, 0%, 2.7%) |
| CIE-LAB | lab(65.03, 45.90, -49.99) |
| CIE-LCH | lch(65.03, 67.86, 312.56°) |
| OKLab | oklab(71.74% 0.106 -0.1398) |
| OKLCH | oklch(71.74% 0.175 307.2) |
| XYZ | xyz(46.9148, 34.0805, 92.8954) |
| Luminance | 0.3408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.62
Liliac
#C48EFD
ΔE00 2.94
Easter Purple
#C071FE
ΔE00 4.05
Light Urple
#B36FF6
ΔE00 5.25
Baby Purple
#CA9BF7
ΔE00 6.49
Bright Lavender
#C760FF
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C182F8 #B9F882
analogous
#8682F8 #C182F8 #F882F4
triadic
#C182F8 #F8C182 #82F8C1
tetradic
#C182F8 #F88682 #B9F882 #82F4F8
square
#C182F8 #F88682 #B9F882 #82F4F8
split-complementary
#C182F8 #F4F882 #82F886
monochromatic
#880EF2 #A448F5 #C182F8 #DEBCFB #F1E2FD
Accessibility & contrast
On white
2.69
#C182F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#C182F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C182F8
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C182F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C182F8 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639BFC
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#B996B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c182f8; /* rgb */ color: rgb(193, 130, 248); /* oklch */ color: oklch(71.7% 0.175 307.2);
Tailwind
colors: {
custom: {
50: '#d6a8fb',
500: '#c182f8',
950: '#000000',
},
}SCSS
$custom: #c182f8; $custom-light: #d6a8fb; $custom-dark: #000000;
JSON
{
"hex": "#c182f8",
"rgb": {
"r": 193,
"g": 130,
"b": 248
},
"hsl": {
"h": 272.034,
"s": 89.394,
"l": 74.118
},
"oklch": {
"l": 0.71742,
"c": 0.17543,
"h": 307.2
},
"luminance": 0.3408
}Semantic roles & 50–950 ramp
primary
#C182F8
secondary
#E4F5D6
accent
#E6006B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85