#C274F2#C274F2
#C274F2 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.4% C 0.191 H 311.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C274F2 |
|---|---|
| RGB | rgb(194, 116, 242) |
| HSL | hsl(277, 83%, 70%) |
| HSV | hsv(277, 52%, 95%) |
| CMYK | cmyk(19.8%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(61.97, 52.21, -51.51) |
| CIE-LCH | lch(61.97, 73.34, 315.39°) |
| OKLab | oklab(69.4% 0.1251 -0.1441) |
| OKLCH | oklch(69.4% 0.191 311) |
| XYZ | xyz(44.5176, 30.3718, 87.5044) |
| Luminance | 0.3037 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.16
Easter Purple
#C071FE
ΔE00 2.11
Light Urple
#B36FF6
ΔE00 3.38
Bright Lavender
#C760FF
ΔE00 4.25
Bright Lilac
#C95EFB
ΔE00 4.41
Liliac
#C48EFD
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C274F2 #A4F274
analogous
#8374F2 #C274F2 #F274E3
triadic
#C274F2 #F2C274 #74F2C2
tetradic
#C274F2 #F28374 #A4F274 #74E3F2
square
#C274F2 #F28374 #A4F274 #74E3F2
split-complementary
#C274F2 #E3F274 #74F283
monochromatic
#8D14D7 #A93CED #C274F2 #DBACF7 #F3E3FC
Accessibility & contrast
On white
2.97
#C274F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#C274F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C274F2
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C274F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C274F2 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#BC89A8
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c274f2; /* rgb */ color: rgb(194, 116, 242); /* oklch */ color: oklch(69.4% 0.191 311.0);
Tailwind
colors: {
custom: {
50: '#d79ef7',
500: '#c274f2',
950: '#000000',
},
}SCSS
$custom: #c274f2; $custom-light: #d79ef7; $custom-dark: #000000;
JSON
{
"hex": "#c274f2",
"rgb": {
"r": 194,
"g": 116,
"b": 242
},
"hsl": {
"h": 277.143,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.69404,
"c": 0.19086,
"h": 311
},
"luminance": 0.30371
}Semantic roles & 50–950 ramp
primary
#C274F2
secondary
#DDF2CF
accent
#DF0659
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85