#C182F7#C182F7
#C182F7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.7% C 0.174 H 307.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C182F7 |
|---|---|
| RGB | rgb(193, 130, 247) |
| HSL | hsl(272, 88%, 74%) |
| HSV | hsv(272, 47%, 97%) |
| CMYK | cmyk(21.9%, 47.4%, 0%, 3.1%) |
| CIE-LAB | lab(64.98, 45.67, -49.52) |
| CIE-LCH | lch(64.98, 67.36, 312.69°) |
| OKLab | oklab(71.69% 0.1059 -0.1384) |
| OKLCH | oklch(71.69% 0.174 307.4) |
| XYZ | xyz(46.7601, 34.0186, 92.0805) |
| Luminance | 0.3402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.62
Liliac
#C48EFD
ΔE00 2.96
Easter Purple
#C071FE
ΔE00 4.10
Light Urple
#B36FF6
ΔE00 5.28
Baby Purple
#CA9BF7
ΔE00 6.45
Bright Lavender
#C760FF
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C182F7 #B8F782
analogous
#8782F7 #C182F7 #F782F2
triadic
#C182F7 #F7C182 #82F7C1
tetradic
#C182F7 #F78782 #B8F782 #82F2F7
square
#C182F7 #F78782 #B8F782 #82F2F7
split-complementary
#C182F7 #F2F782 #82F787
monochromatic
#880FEF #A448F3 #C182F7 #DEBCFB #F1E2FD
Accessibility & contrast
On white
2.69
#C182F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#C182F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C182F7
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C182F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C182F7 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#B996B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c182f7; /* rgb */ color: rgb(193, 130, 247); /* oklch */ color: oklch(71.7% 0.174 307.4);
Tailwind
colors: {
custom: {
50: '#d6a8fa',
500: '#c182f7',
950: '#000000',
},
}SCSS
$custom: #c182f7; $custom-light: #d6a8fa; $custom-dark: #000000;
JSON
{
"hex": "#c182f7",
"rgb": {
"r": 193,
"g": 130,
"b": 247
},
"hsl": {
"h": 272.308,
"s": 87.97,
"l": 73.922
},
"oklch": {
"l": 0.71689,
"c": 0.17426,
"h": 307.4
},
"luminance": 0.34018
}Semantic roles & 50–950 ramp
primary
#C182F7
secondary
#E4F5D6
accent
#E5016A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85