#C271DE#C271DE

#C271DE is a light, vivid purple. Relative luminance 0.286; OKLCH L 67.9% C 0.174 H 316.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#C271DE
RGBrgb(194, 113, 222)
HSLhsl(285, 62%, 66%)
HSVhsv(285, 49%, 87%)
CMYKcmyk(12.6%, 49.1%, 0%, 12.9%)
CIE-LABlab(60.39, 49.57, -42.89)
CIE-LCHlch(60.39, 65.54, 319.13°)
OKLaboklab(67.91% 0.1271 -0.1191)
OKLCHoklch(67.91% 0.174 316.9)
XYZxyz(41.3362, 28.5548, 72.4273)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271DE #8DDE71
analogous
#8B71DE #C271DE #DE71C3
triadic
#C271DE #DEC271 #71DEC2
tetradic
#C271DE #DE8B71 #8DDE71 #71C3DE
square
#C271DE #DE8B71 #8DDE71 #71C3DE
split-complementary
#C271DE #C3DE71 #71DE8B
monochromatic
#8A28AD #AD3FD2 #C271DE #D7A3EA #EDD4F5

Accessibility & contrast

On white

3.13
#C271DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#C271DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271DE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271DE#FFFFFF#000000##000000
##C271DE1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE2
Deuteranopia (green-blind)
#7494DB
Tritanopia (blue-blind)
#C1819D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c271de;
/* rgb */ color: rgb(194, 113, 222);
/* oklch */ color: oklch(67.9% 0.174 316.9);
Tailwind
colors: {
  custom: {
    50: '#d69ce8',
    500: '#c271de',
    950: '#000000',
  },
}
SCSS
$custom: #c271de;
$custom-light: #d69ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#c271de",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 284.587,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67907,
    "c": 0.17414,
    "h": 316.9
  },
  "luminance": 0.28554
}

Semantic roles & 50–950 ramp

primary
#C271DE
secondary
#CDE8C3
accent
#CA1B48
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C271DE

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

Preview Lab → · Contrast checker → · Palette generator →

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