#CE34D1#CE34D1

#CE34D1 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 62.0% C 0.249 H 327.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CE34D1
RGBrgb(206, 52, 209)
HSLhsl(299, 63%, 51%)
HSVhsv(299, 75%, 82%)
CMYKcmyk(1.4%, 75.1%, 0%, 18%)
CIE-LABlab(52.04, 75.66, -48.62)
CIE-LCHlch(52.04, 89.94, 327.27°)
OKLaboklab(61.96% 0.2098 -0.135)
OKLCHoklch(61.96% 0.249 327.2)
XYZxyz(38.1896, 20.1840, 62.1937)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE34D1 #37D134
analogous
#8034D1 #CE34D1 #D13485
triadic
#CE34D1 #D1CE34 #34D1CE
tetradic
#CE34D1 #D18034 #37D134 #3485D1
square
#CE34D1 #D18034 #37D134 #3485D1
split-complementary
#CE34D1 #85D134 #34D180
monochromatic
#6F1A71 #A025A3 #CE34D1 #DA66DC #E698E8

Accessibility & contrast

On white

4.17
#CE34D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CE34D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE34D1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE34D1#FFFFFF#000000##000000
##CE34D11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D5
Deuteranopia (green-blind)
#5E83CD
Tritanopia (blue-blind)
#D44F81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce34d1;
/* rgb */ color: rgb(206, 52, 209);
/* oklch */ color: oklch(62.0% 0.249 327.2);
Tailwind
colors: {
  custom: {
    50: '#e17ce0',
    500: '#ce34d1',
    950: '#000000',
  },
}
SCSS
$custom: #ce34d1;
$custom-light: #e17ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce34d1",
  "rgb": {
    "r": 206,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 298.854,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.24945,
    "h": 327.2
  },
  "luminance": 0.20181
}

Semantic roles & 50–950 ramp

primary
#CE34D1
secondary
#8FD38E
accent
#E64245
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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