#C282F2#C282F2
#C282F2 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.5% C 0.169 H 309.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C282F2 |
|---|---|
| RGB | rgb(194, 130, 242) |
| HSL | hsl(274, 81%, 73%) |
| HSV | hsv(274, 46%, 95%) |
| CMYK | cmyk(19.8%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(64.84, 44.84, -46.98) |
| CIE-LCH | lch(64.84, 64.94, 313.67°) |
| OKLab | oklab(71.53% 0.1064 -0.131) |
| OKLCH | oklch(71.53% 0.169 309.1) |
| XYZ | xyz(46.2547, 33.8460, 88.0834) |
| Luminance | 0.3384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.87
Liliac
#C48EFD
ΔE00 3.22
Easter Purple
#C071FE
ΔE00 4.50
Light Urple
#B36FF6
ΔE00 5.63
Baby Purple
#CA9BF7
ΔE00 6.27
Pale Purple
#B790D4
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C282F2 #B2F282
analogous
#8A82F2 #C282F2 #F282EA
triadic
#C282F2 #F2C282 #82F2C2
tetradic
#C282F2 #F28A82 #B2F282 #82EAF2
square
#C282F2 #F28A82 #B2F282 #82EAF2
split-complementary
#C282F2 #EAF282 #82F28A
monochromatic
#8B18E2 #A74BEC #C282F2 #DDB9F8 #F1E3FC
Accessibility & contrast
On white
2.70
#C282F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#C282F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C282F2
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C282F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C282F2 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679AF6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#BC94AF
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c282f2; /* rgb */ color: rgb(194, 130, 242); /* oklch */ color: oklch(71.5% 0.169 309.1);
Tailwind
colors: {
custom: {
50: '#d6a8f7',
500: '#c282f2',
950: '#000000',
},
}SCSS
$custom: #c282f2; $custom-light: #d6a8f7; $custom-dark: #000000;
JSON
{
"hex": "#c282f2",
"rgb": {
"r": 194,
"g": 130,
"b": 242
},
"hsl": {
"h": 274.286,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.71532,
"c": 0.16879,
"h": 309.1
},
"luminance": 0.33845
}Semantic roles & 50–950 ramp
primary
#C282F2
secondary
#E3F4D7
accent
#DE0863
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85