#CE30C2#CE30C2

#CE30C2 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.8% C 0.242 H 331.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CE30C2
RGBrgb(206, 48, 194)
HSLhsl(305, 62%, 50%)
HSVhsv(305, 77%, 81%)
CMYKcmyk(0%, 76.7%, 5.8%, 19.2%)
CIE-LABlab(50.84, 74.47, -41.89)
CIE-LCHlch(50.84, 85.45, 330.64°)
OKLaboklab(60.84% 0.2131 -0.1154)
OKLCHoklch(60.84% 0.242 331.6)
XYZxyz(36.2482, 19.1338, 52.8126)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE30C2 #30CE3C
analogous
#8B30CE #CE30C2 #CE3073
triadic
#CE30C2 #C2CE30 #30C2CE
tetradic
#CE30C2 #CE8B30 #30CE3C #3073CE
square
#CE30C2 #CE8B30 #30CE3C #3073CE
split-complementary
#CE30C2 #73CE30 #30CE8B
monochromatic
#6B1965 #9C2493 #CE30C2 #DA61D1 #E693DF

Accessibility & contrast

On white

4.35
#CE30C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CE30C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE30C2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE30C2#FFFFFF#000000##000000
##CE30C21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#206BC6
Deuteranopia (green-blind)
#6581BE
Tritanopia (blue-blind)
#D74578
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ce30c2;
/* rgb */ color: rgb(206, 48, 194);
/* oklch */ color: oklch(60.8% 0.242 331.6);
Tailwind
colors: {
  custom: {
    50: '#e17ad5',
    500: '#ce30c2',
    950: '#000000',
  },
}
SCSS
$custom: #ce30c2;
$custom-light: #e17ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce30c2",
  "rgb": {
    "r": 206,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 304.557,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.24236,
    "h": 331.6
  },
  "luminance": 0.19131
}

Semantic roles & 50–950 ramp

primary
#CE30C2
secondary
#89D18F
accent
#E54F43
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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