#CE30C7#CE30C7

#CE30C7 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.1% C 0.246 H 330.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CE30C7
RGBrgb(206, 48, 199)
HSLhsl(303, 62%, 50%)
HSVhsv(303, 77%, 81%)
CMYKcmyk(0%, 76.7%, 3.4%, 19.2%)
CIE-LABlab(51.11, 75.23, -44.36)
CIE-LCHlch(51.11, 87.33, 329.47°)
OKLaboklab(61.12% 0.2131 -0.1226)
OKLCHoklch(61.12% 0.246 330.1)
XYZxyz(36.8192, 19.3622, 55.8198)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE30C7 #30CE37
analogous
#8630CE #CE30C7 #CE3078
triadic
#CE30C7 #C7CE30 #30C7CE
tetradic
#CE30C7 #CE8630 #30CE37 #3078CE
square
#CE30C7 #CE8630 #30CE37 #3078CE
split-complementary
#CE30C7 #78CE30 #30CE86
monochromatic
#6B1967 #9C2497 #CE30C7 #DA61D5 #E693E2

Accessibility & contrast

On white

4.31
#CE30C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CE30C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE30C7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE30C7#FFFFFF#000000##000000
##CE30C71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#166CCB
Deuteranopia (green-blind)
#6281C3
Tritanopia (blue-blind)
#D6477B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce30c7;
/* rgb */ color: rgb(206, 48, 199);
/* oklch */ color: oklch(61.1% 0.246 330.1);
Tailwind
colors: {
  custom: {
    50: '#e17ad8',
    500: '#ce30c7',
    950: '#000000',
  },
}
SCSS
$custom: #ce30c7;
$custom-light: #e17ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce30c7",
  "rgb": {
    "r": 206,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 302.658,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61117,
    "c": 0.24587,
    "h": 330.1
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#CE30C7
secondary
#89D18C
accent
#E54A43
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CE30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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