#C271EA#C271EA

#C271EA is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.5% C 0.187 H 313.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#C271EA
RGBrgb(194, 113, 234)
HSLhsl(280, 74%, 68%)
HSVhsv(280, 52%, 92%)
CMYKcmyk(17.1%, 51.7%, 0%, 8.2%)
CIE-LABlab(60.98, 52.05, -48.65)
CIE-LCHlch(60.98, 71.25, 316.93°)
OKLaboklab(68.54% 0.1284 -0.1358)
OKLCHoklch(68.54% 0.187 313.4)
XYZxyz(43.0020, 29.2212, 81.2009)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271EA #99EA71
analogous
#8571EA #C271EA #EA71D6
triadic
#C271EA #EAC271 #71EAC2
tetradic
#C271EA #EA8571 #99EA71 #71D6EA
square
#C271EA #EA8571 #99EA71 #71D6EA
split-complementary
#C271EA #D6EA71 #71EA85
monochromatic
#8D1DC4 #AB3CE2 #C271EA #D9A6F2 #F0DCFA

Accessibility & contrast

On white

3.07
#C271EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#C271EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271EA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271EA#FFFFFF#000000##000000
##C271EA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEE
Deuteranopia (green-blind)
#6D95E7
Tritanopia (blue-blind)
#BE85A3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c271ea;
/* rgb */ color: rgb(194, 113, 234);
/* oklch */ color: oklch(68.5% 0.187 313.4);
Tailwind
colors: {
  custom: {
    50: '#d79cf1',
    500: '#c271ea',
    950: '#000000',
  },
}
SCSS
$custom: #c271ea;
$custom-light: #d79cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c271ea",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 280.165,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68535,
    "c": 0.18687,
    "h": 313.4
  },
  "luminance": 0.2922
}

Semantic roles & 50–950 ramp

primary
#C271EA
secondary
#D5EEC9
accent
#D60F51
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C271EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C271EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva