#C280F2#C280F2
#C280F2 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.2% C 0.172 H 309.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C280F2 |
|---|---|
| RGB | rgb(194, 128, 242) |
| HSL | hsl(275, 81%, 73%) |
| HSV | hsv(275, 47%, 95%) |
| CMYK | cmyk(19.8%, 47.1%, 0%, 5.1%) |
| CIE-LAB | lab(64.42, 45.91, -47.64) |
| CIE-LCH | lch(64.42, 66.16, 313.94°) |
| OKLab | oklab(71.22% 0.1091 -0.1329) |
| OKLCH | oklch(71.22% 0.172 309.4) |
| XYZ | xyz(45.9913, 33.3192, 87.9956) |
| Luminance | 0.3332 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.42
Liliac
#C48EFD
ΔE00 3.64
Easter Purple
#C071FE
ΔE00 4.07
Light Urple
#B36FF6
ΔE00 5.23
Baby Purple
#CA9BF7
ΔE00 6.75
Bright Lavender
#C760FF
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C280F2 #B0F280
analogous
#8980F2 #C280F2 #F280E9
triadic
#C280F2 #F2C280 #80F2C2
tetradic
#C280F2 #F28980 #B0F280 #80E9F2
square
#C280F2 #F28980 #B0F280 #80E9F2
split-complementary
#C280F2 #E9F280 #80F289
monochromatic
#8C17E1 #A748EC #C280F2 #DDB8F8 #F2E3FC
Accessibility & contrast
On white
2.74
#C280F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#C280F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C280F2
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C280F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C280F2 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#BC93AE
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c280f2; /* rgb */ color: rgb(194, 128, 242); /* oklch */ color: oklch(71.2% 0.172 309.4);
Tailwind
colors: {
custom: {
50: '#d6a6f7',
500: '#c280f2',
950: '#000000',
},
}SCSS
$custom: #c280f2; $custom-light: #d6a6f7; $custom-dark: #000000;
JSON
{
"hex": "#c280f2",
"rgb": {
"r": 194,
"g": 128,
"b": 242
},
"hsl": {
"h": 274.737,
"s": 81.429,
"l": 72.549
},
"oklch": {
"l": 0.71217,
"c": 0.17199,
"h": 309.4
},
"luminance": 0.33318
}Semantic roles & 50–950 ramp
primary
#C280F2
secondary
#E3F4D7
accent
#DE0862
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85