#CE71EC#CE71EC

#CE71EC is a light, vivid purple. Relative luminance 0.310; OKLCH L 70.0% C 0.194 H 317.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CE71EC
RGBrgb(206, 113, 236)
HSLhsl(285, 76%, 68%)
HSVhsv(285, 52%, 93%)
CMYKcmyk(12.7%, 52.1%, 0%, 7.5%)
CIE-LABlab(62.50, 55.61, -47.26)
CIE-LCHlch(62.50, 72.98, 319.64°)
OKLaboklab(70% 0.1427 -0.1315)
OKLCHoklch(70% 0.194 317.4)
XYZxyz(46.4969, 30.9898, 82.8730)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE71EC #8FEC71
analogous
#9071EC #CE71EC #EC71CC
triadic
#CE71EC #ECCE71 #71ECCE
tetradic
#CE71EC #EC9071 #8FEC71 #71CCEC
square
#CE71EC #EC9071 #8FEC71 #71CCEC
split-complementary
#CE71EC #CCEC71 #71EC90
monochromatic
#9E1BC8 #BB3BE5 #CE71EC #E1A7F3 #F3DDFA

Accessibility & contrast

On white

2.92
#CE71EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CE71EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE71EC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE71EC#FFFFFF#000000##000000
##CE71EC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#CD84A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ce71ec;
/* rgb */ color: rgb(206, 113, 236);
/* oklch */ color: oklch(70.0% 0.194 317.4);
Tailwind
colors: {
  custom: {
    50: '#df9df2',
    500: '#ce71ec',
    950: '#000000',
  },
}
SCSS
$custom: #ce71ec;
$custom-light: #df9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce71ec",
  "rgb": {
    "r": 206,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 285.366,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7,
    "c": 0.19406,
    "h": 317.4
  },
  "luminance": 0.30988
}

Semantic roles & 50–950 ramp

primary
#CE71EC
secondary
#D3EFCA
accent
#D90D3F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F17
muted
#847E85

Preview Lab

Preview with #CE71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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