#CE42E5#CE42E5

#CE42E5 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.2% C 0.251 H 321.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CE42E5
RGBrgb(206, 66, 229)
HSLhsl(292, 76%, 58%)
HSVhsv(292, 71%, 90%)
CMYKcmyk(10%, 71.2%, 0%, 10.2%)
CIE-LABlab(54.74, 74.54, -55.68)
CIE-LCHlch(54.74, 93.04, 323.24°)
OKLaboklab(64.25% 0.1966 -0.1557)
OKLCHoklch(64.25% 0.251 321.6)
XYZxyz(41.5431, 22.6777, 76.3026)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42E5 #59E542
analogous
#7D42E5 #CE42E5 #E542AA
triadic
#CE42E5 #E5CE42 #42E5CE
tetradic
#CE42E5 #E57D42 #59E542 #42AAE5
square
#CE42E5 #E57D42 #59E542 #42AAE5
split-complementary
#CE42E5 #AAE542 #42E57D
monochromatic
#851598 #B51CCE #CE42E5 #DC78EC #EAAEF4

Accessibility & contrast

On white

3.79
#CE42E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CE42E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42E5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42E5#FFFFFF#000000##000000
##CE42E51.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#5788E1
Tritanopia (blue-blind)
#D06090
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ce42e5;
/* rgb */ color: rgb(206, 66, 229);
/* oklch */ color: oklch(64.2% 0.251 321.6);
Tailwind
colors: {
  custom: {
    50: '#e183ee',
    500: '#ce42e5',
    950: '#000000',
  },
}
SCSS
$custom: #ce42e5;
$custom-light: #e183ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42e5",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 229
  },
  "hsl": {
    "h": 291.534,
    "s": 75.814,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64247,
    "c": 0.2508,
    "h": 321.6
  },
  "luminance": 0.22675
}

Semantic roles & 50–950 ramp

primary
#CE42E5
secondary
#AAE2A1
accent
#F23550
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CE42E5

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

Preview Lab → · Contrast checker → · Palette generator →

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