#C271EE#C271EE

#C271EE is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.8% C 0.191 H 312.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#C271EE
RGBrgb(194, 113, 238)
HSLhsl(279, 79%, 69%)
HSVhsv(279, 53%, 93%)
CMYKcmyk(18.5%, 52.5%, 0%, 6.7%)
CIE-LABlab(61.18, 52.89, -50.55)
CIE-LCHlch(61.18, 73.16, 316.30°)
OKLaboklab(68.75% 0.1287 -0.1413)
OKLCHoklch(68.75% 0.191 312.3)
XYZxyz(43.5832, 29.4536, 84.2616)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271EE #9DEE71
analogous
#8471EE #C271EE #EE71DC
triadic
#C271EE #EEC271 #71EEC2
tetradic
#C271EE #EE8471 #9DEE71 #71DCEE
square
#C271EE #EE8471 #9DEE71 #71DCEE
split-complementary
#C271EE #DCEE71 #71EE84
monochromatic
#8D18CC #AB3AE7 #C271EE #D9A8F5 #F1DEFB

Accessibility & contrast

On white

3.05
#C271EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#C271EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271EE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271EE#FFFFFF#000000##000000
##C271EE1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF2
Deuteranopia (green-blind)
#6A95EB
Tritanopia (blue-blind)
#BD86A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c271ee;
/* rgb */ color: rgb(194, 113, 238);
/* oklch */ color: oklch(68.8% 0.191 312.3);
Tailwind
colors: {
  custom: {
    50: '#d79cf4',
    500: '#c271ee',
    950: '#000000',
  },
}
SCSS
$custom: #c271ee;
$custom-light: #d79cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c271ee",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 278.88,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68752,
    "c": 0.19116,
    "h": 312.3
  },
  "luminance": 0.29453
}

Semantic roles & 50–950 ramp

primary
#C271EE
secondary
#D8F0CB
accent
#DB0B54
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C271EE

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

Preview Lab → · Contrast checker → · Palette generator →

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