#CE71E8#CE71E8

#CE71E8 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.190 H 318.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CE71E8
RGBrgb(206, 113, 232)
HSLhsl(287, 72%, 68%)
HSVhsv(287, 51%, 91%)
CMYKcmyk(11.2%, 51.3%, 0%, 9%)
CIE-LABlab(62.30, 54.82, -45.35)
CIE-LCHlch(62.30, 71.15, 320.40°)
OKLaboklab(69.79% 0.1423 -0.1259)
OKLCHoklch(69.79% 0.19 318.5)
XYZxyz(45.9223, 30.7600, 79.8465)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE71E8 #8BE871
analogous
#9371E8 #CE71E8 #E871C6
triadic
#CE71E8 #E8CE71 #71E8CE
tetradic
#CE71E8 #E89371 #8BE871 #71C6E8
square
#CE71E8 #E89371 #8BE871 #71C6E8
split-complementary
#CE71E8 #C6E871 #71E893
monochromatic
#9C1FC0 #BC3CDF #CE71E8 #E0A6F1 #F2DAF9

Accessibility & contrast

On white

2.94
#CE71E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CE71E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE71E8
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE71E8#FFFFFF#000000##000000
##CE71E81.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EC
Deuteranopia (green-blind)
#779AE5
Tritanopia (blue-blind)
#CE82A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ce71e8;
/* rgb */ color: rgb(206, 113, 232);
/* oklch */ color: oklch(69.8% 0.190 318.5);
Tailwind
colors: {
  custom: {
    50: '#df9df0',
    500: '#ce71e8',
    950: '#000000',
  },
}
SCSS
$custom: #ce71e8;
$custom-light: #df9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce71e8",
  "rgb": {
    "r": 206,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 286.891,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69793,
    "c": 0.19003,
    "h": 318.5
  },
  "luminance": 0.30758
}

Semantic roles & 50–950 ramp

primary
#CE71E8
secondary
#D0EDC8
accent
#D4113C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CE71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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