#CE74EB#CE74EB

#CE74EB is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.4% C 0.188 H 317.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CE74EB
RGBrgb(206, 116, 235)
HSLhsl(285, 75%, 69%)
HSVhsv(285, 51%, 92%)
CMYKcmyk(12.3%, 50.6%, 0%, 7.8%)
CIE-LABlab(63.02, 53.91, -45.88)
CIE-LCHlch(63.02, 70.80, 319.60°)
OKLaboklab(70.37% 0.1387 -0.1275)
OKLCHoklch(70.37% 0.188 317.4)
XYZxyz(46.6923, 31.6123, 82.2234)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE74EB #91EB74
analogous
#9374EB #CE74EB #EB74CD
triadic
#CE74EB #EBCE74 #74EBCE
tetradic
#CE74EB #EB9374 #91EB74 #74CDEB
square
#CE74EB #EB9374 #91EB74 #74CDEB
split-complementary
#CE74EB #CDEB74 #74EB93
monochromatic
#9E1DC8 #BB3EE3 #CE74EB #E1AAF3 #F4DFFA

Accessibility & contrast

On white

2.87
#CE74EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CE74EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE74EB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE74EB#FFFFFF#000000##000000
##CE74EB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#789BE8
Tritanopia (blue-blind)
#CD86A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ce74eb;
/* rgb */ color: rgb(206, 116, 235);
/* oklch */ color: oklch(70.4% 0.188 317.4);
Tailwind
colors: {
  custom: {
    50: '#df9ff2',
    500: '#ce74eb',
    950: '#000000',
  },
}
SCSS
$custom: #ce74eb;
$custom-light: #df9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce74eb",
  "rgb": {
    "r": 206,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 285.378,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.18836,
    "h": 317.4
  },
  "luminance": 0.31611
}

Semantic roles & 50–950 ramp

primary
#CE74EB
secondary
#D4EFCC
accent
#D70F3F
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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