#C271ED#C271ED

#C271ED is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.7% C 0.190 H 312.6°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#C271ED
RGBrgb(194, 113, 237)
HSLhsl(279, 78%, 69%)
HSVhsv(279, 52%, 93%)
CMYKcmyk(18.1%, 52.3%, 0%, 7.1%)
CIE-LABlab(61.13, 52.68, -50.08)
CIE-LCHlch(61.13, 72.68, 316.45°)
OKLaboklab(68.7% 0.1286 -0.1399)
OKLCHoklch(68.7% 0.19 312.6)
XYZxyz(43.4367, 29.3950, 83.4900)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271ED #9CED71
analogous
#8471ED #C271ED #ED71DA
triadic
#C271ED #EDC271 #71EDC2
tetradic
#C271ED #ED8471 #9CED71 #71DAED
square
#C271ED #ED8471 #9CED71 #71DAED
split-complementary
#C271ED #DAED71 #71ED84
monochromatic
#8D1ACA #AB3BE6 #C271ED #D9A7F4 #F1DEFB

Accessibility & contrast

On white

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

On black

6.88
#C271ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271ED
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271ED#FFFFFF#000000##000000
##C271ED1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF1
Deuteranopia (green-blind)
#6B95EA
Tritanopia (blue-blind)
#BE85A5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c271ed;
/* rgb */ color: rgb(194, 113, 237);
/* oklch */ color: oklch(68.7% 0.190 312.6);
Tailwind
colors: {
  custom: {
    50: '#d79cf3',
    500: '#c271ed',
    950: '#000000',
  },
}
SCSS
$custom: #c271ed;
$custom-light: #d79cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c271ed",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 279.194,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68697,
    "c": 0.19008,
    "h": 312.6
  },
  "luminance": 0.29394
}

Semantic roles & 50–950 ramp

primary
#C271ED
secondary
#D7EFCA
accent
#DA0C53
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C271ED

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

Preview Lab → · Contrast checker → · Palette generator →

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