#C282F9#C282F9
#C282F9 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.9% C 0.177 H 307.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #C282F9 |
|---|---|
| RGB | rgb(194, 130, 249) |
| HSL | hsl(272, 91%, 74%) |
| HSV | hsv(272, 48%, 98%) |
| CMYK | cmyk(22.1%, 47.8%, 0%, 2.4%) |
| CIE-LAB | lab(65.18, 46.39, -50.29) |
| CIE-LCH | lch(65.18, 68.41, 312.69°) |
| OKLab | oklab(71.9% 0.1073 -0.1406) |
| OKLCH | oklch(71.9% 0.177 307.3) |
| XYZ | xyz(47.3262, 34.2746, 93.7267) |
| Luminance | 0.3427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.64
Liliac
#C48EFD
ΔE00 2.92
Easter Purple
#C071FE
ΔE00 4.03
Light Urple
#B36FF6
ΔE00 5.31
Baby Purple
#CA9BF7
ΔE00 6.49
Bright Lavender
#C760FF
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C282F9 #B9F982
analogous
#8782F9 #C282F9 #F982F5
triadic
#C282F9 #F9C282 #82F9C2
tetradic
#C282F9 #F98782 #B9F982 #82F5F9
square
#C282F9 #F98782 #B9F982 #82F5F9
split-complementary
#C282F9 #F5F982 #82F987
monochromatic
#890DF3 #A648F6 #C282F9 #DEBCFC #F1E2FE
Accessibility & contrast
On white
2.67
#C282F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#C282F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C282F9
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C282F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C282F9 | 1.00 | 2.67 | 7.85 | 7.85 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#BA96B2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c282f9; /* rgb */ color: rgb(194, 130, 249); /* oklch */ color: oklch(71.9% 0.177 307.3);
Tailwind
colors: {
custom: {
50: '#d7a8fc',
500: '#c282f9',
950: '#000000',
},
}SCSS
$custom: #c282f9; $custom-light: #d7a8fc; $custom-dark: #000000;
JSON
{
"hex": "#c282f9",
"rgb": {
"r": 194,
"g": 130,
"b": 249
},
"hsl": {
"h": 272.269,
"s": 90.84,
"l": 74.314
},
"oklch": {
"l": 0.71896,
"c": 0.1769,
"h": 307.3
},
"luminance": 0.34274
}Semantic roles & 50–950 ramp
primary
#C282F9
secondary
#E4F6D5
accent
#E6006A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85