#C182F6#C182F6
#C182F6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.6% C 0.173 H 307.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C182F6 |
|---|---|
| RGB | rgb(193, 130, 246) |
| HSL | hsl(273, 87%, 74%) |
| HSV | hsv(273, 47%, 96%) |
| CMYK | cmyk(21.5%, 47.2%, 0%, 3.5%) |
| CIE-LAB | lab(64.93, 45.45, -49.04) |
| CIE-LCH | lch(64.93, 66.87, 312.82°) |
| OKLab | oklab(71.64% 0.1058 -0.137) |
| OKLCH | oklch(71.64% 0.173 307.7) |
| XYZ | xyz(46.6062, 33.9571, 91.2700) |
| Luminance | 0.3396 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.64
Liliac
#C48EFD
ΔE00 2.99
Easter Purple
#C071FE
ΔE00 4.16
Light Urple
#B36FF6
ΔE00 5.32
Baby Purple
#CA9BF7
ΔE00 6.42
Bright Lavender
#C760FF
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C182F6 #B7F682
analogous
#8782F6 #C182F6 #F682F1
triadic
#C182F6 #F6C182 #82F6C1
tetradic
#C182F6 #F68782 #B7F682 #82F1F6
square
#C182F6 #F68782 #B7F682 #82F1F6
split-complementary
#C182F6 #F1F682 #82F687
monochromatic
#8811ED #A549F2 #C182F6 #DDBBFA #F1E2FD
Accessibility & contrast
On white
2.70
#C182F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#C182F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C182F6
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C182F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C182F6 | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649BFA
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#B995B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c182f6; /* rgb */ color: rgb(193, 130, 246); /* oklch */ color: oklch(71.6% 0.173 307.7);
Tailwind
colors: {
custom: {
50: '#d6a8f9',
500: '#c182f6',
950: '#000000',
},
}SCSS
$custom: #c182f6; $custom-light: #d6a8f9; $custom-dark: #000000;
JSON
{
"hex": "#c182f6",
"rgb": {
"r": 193,
"g": 130,
"b": 246
},
"hsl": {
"h": 272.586,
"s": 86.567,
"l": 73.725
},
"oklch": {
"l": 0.71637,
"c": 0.1731,
"h": 307.7
},
"luminance": 0.33957
}Semantic roles & 50–950 ramp
primary
#C182F6
secondary
#E4F5D6
accent
#E30269
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85