#C271CC#C271CC
#C271CC is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.0% C 0.156 H 323.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C271CC |
|---|---|
| RGB | rgb(194, 113, 204) |
| HSL | hsl(293, 47%, 62%) |
| HSV | hsv(293, 45%, 80%) |
| CMYK | cmyk(4.9%, 44.6%, 0%, 20%) |
| CIE-LAB | lab(59.56, 46.01, -34.05) |
| CIE-LCH | lch(59.56, 57.23, 323.50°) |
| OKLab | oklab(67.03% 0.1243 -0.0936) |
| OKLCH | oklch(67.03% 0.156 323) |
| XYZ | xyz(39.0512, 27.6409, 60.3932) |
| Luminance | 0.2764 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.89
Orchid
#DA70D6
ΔE00 4.21
Soft Purple
#A66FB5
ΔE00 6.03
Wisteria
#A87DC2
ΔE00 6.31
Lavender Pink
#DD85D7
ΔE00 7.05
Mediumorchid
#BA55D3
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C271CC #7BCC71
analogous
#9571CC #C271CC #CC71A8
triadic
#C271CC #CCC271 #71CCC2
tetradic
#C271CC #CC9571 #7BCC71 #71A8CC
square
#C271CC #CC9571 #7BCC71 #71A8CC
split-complementary
#C271CC #A8CC71 #71CC95
monochromatic
#85338F #AF44BC #C271CC #D59EDC #E9CBEC
Accessibility & contrast
On white
3.22
#C271CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#C271CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C271CC
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C271CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C271CC | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6689CF
Deuteranopia (green-blind)
#7C93C9
Tritanopia (blue-blind)
#C57C95
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c271cc; /* rgb */ color: rgb(194, 113, 204); /* oklch */ color: oklch(67.0% 0.156 323.0);
Tailwind
colors: {
custom: {
50: '#d69cdc',
500: '#c271cc',
950: '#000000',
},
}SCSS
$custom: #c271cc; $custom-light: #d69cdc; $custom-dark: #000000;
JSON
{
"hex": "#c271cc",
"rgb": {
"r": 194,
"g": 113,
"b": 204
},
"hsl": {
"h": 293.407,
"s": 47.15,
"l": 62.157
},
"oklch": {
"l": 0.67025,
"c": 0.15562,
"h": 323
},
"luminance": 0.27639
}Semantic roles & 50–950 ramp
primary
#C271CC
secondary
#BFDDBC
accent
#BA2B3B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83