#CE30B7#CE30B7

#CE30B7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.3% C 0.235 H 334.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CE30B7
RGBrgb(206, 48, 183)
HSLhsl(309, 62%, 50%)
HSVhsv(309, 77%, 81%)
CMYKcmyk(0%, 76.7%, 11.2%, 19.2%)
CIE-LABlab(50.28, 72.87, -36.38)
CIE-LCHlch(50.28, 81.45, 333.47°)
OKLaboklab(60.26% 0.2127 -0.0995)
OKLCHoklch(60.26% 0.235 334.9)
XYZxyz(35.0582, 18.6578, 46.5455)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE30B7 #30CE47
analogous
#9630CE #CE30B7 #CE3068
triadic
#CE30B7 #B7CE30 #30B7CE
tetradic
#CE30B7 #CE9630 #30CE47 #3068CE
square
#CE30B7 #CE9630 #30CE47 #3068CE
split-complementary
#CE30B7 #68CE30 #30CE96
monochromatic
#6B195F #9C248B #CE30B7 #DA61C9 #E693DA

Accessibility & contrast

On white

4.44
#CE30B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CE30B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE30B7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE30B7#FFFFFF#000000##000000
##CE30B71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BB
Deuteranopia (green-blind)
#6A80B3
Tritanopia (blue-blind)
#D83F72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ce30b7;
/* rgb */ color: rgb(206, 48, 183);
/* oklch */ color: oklch(60.3% 0.235 334.9);
Tailwind
colors: {
  custom: {
    50: '#e17acd',
    500: '#ce30b7',
    950: '#000000',
  },
}
SCSS
$custom: #ce30b7;
$custom-light: #e17acd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce30b7",
  "rgb": {
    "r": 206,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 308.734,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.23481,
    "h": 334.9
  },
  "luminance": 0.18655
}

Semantic roles & 50–950 ramp

primary
#CE30B7
secondary
#89D194
accent
#E55A43
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CE30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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