#C274FA#C274FA
#C274FA is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.8% C 0.200 H 309.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C274FA |
|---|---|
| RGB | rgb(194, 116, 250) |
| HSL | hsl(275, 93%, 72%) |
| HSV | hsv(275, 54%, 98%) |
| CMYK | cmyk(22.4%, 53.6%, 0%, 2%) |
| CIE-LAB | lab(62.39, 53.94, -55.26) |
| CIE-LCH | lch(62.39, 77.22, 314.31°) |
| OKLab | oklab(69.85% 0.1257 -0.1551) |
| OKLCH | oklch(69.85% 0.2 309) |
| XYZ | xyz(45.7455, 30.8630, 93.9712) |
| Luminance | 0.3086 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.92
Easter Purple
#C071FE
ΔE00 1.05
Light Urple
#B36FF6
ΔE00 2.98
Bright Lavender
#C760FF
ΔE00 3.94
Bright Lilac
#C95EFB
ΔE00 4.31
Liliac
#C48EFD
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C274FA #ACFA74
analogous
#7F74FA #C274FA #FA74EF
triadic
#C274FA #FAC274 #74FAC2
tetradic
#C274FA #FA7F74 #ACFA74 #74EFFA
square
#C274FA #FA7F74 #ACFA74 #74EFFA
split-complementary
#C274FA #EFFA74 #74FA7F
monochromatic
#8C08EB #A839F8 #C274FA #DCAFFC #F2E1FE
Accessibility & contrast
On white
2.93
#C274FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#C274FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C274FA
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C274FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C274FA | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B93FE
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#BA8CAC
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c274fa; /* rgb */ color: rgb(194, 116, 250); /* oklch */ color: oklch(69.8% 0.200 309.0);
Tailwind
colors: {
custom: {
50: '#d79ffc',
500: '#c274fa',
950: '#000000',
},
}SCSS
$custom: #c274fa; $custom-light: #d79ffc; $custom-dark: #000000;
JSON
{
"hex": "#c274fa",
"rgb": {
"r": 194,
"g": 116,
"b": 250
},
"hsl": {
"h": 274.925,
"s": 93.056,
"l": 71.765
},
"oklch": {
"l": 0.69848,
"c": 0.19959,
"h": 309
},
"luminance": 0.30862
}Semantic roles & 50–950 ramp
primary
#C274FA
secondary
#E2F6D4
accent
#E60060
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86