#CE30CE#CE30CE

#CE30CE is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.5% C 0.251 H 328.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CE30CE
RGBrgb(206, 48, 206)
HSLhsl(300, 62%, 50%)
HSVhsv(300, 77%, 81%)
CMYKcmyk(0%, 76.7%, 0%, 19.2%)
CIE-LABlab(51.49, 76.30, -47.79)
CIE-LCHlch(51.49, 90.03, 327.94°)
OKLaboklab(61.51% 0.213 -0.1325)
OKLCHoklch(61.51% 0.251 328.1)
XYZxyz(37.6507, 19.6948, 60.1990)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE30CE #30CE30
analogous
#7F30CE #CE30CE #CE307F
triadic
#CE30CE #CECE30 #30CECE
tetradic
#CE30CE #CE7F30 #30CE30 #307FCE
square
#CE30CE #CE7F30 #30CE30 #307FCE
split-complementary
#CE30CE #7FCE30 #30CE7F
monochromatic
#6B196B #9C249C #CE30CE #DA61DA #E693E6

Accessibility & contrast

On white

4.25
#CE30CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CE30CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE30CE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE30CE#FFFFFF#000000##000000
##CE30CE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#5E82CA
Tritanopia (blue-blind)
#D54B7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce30ce;
/* rgb */ color: rgb(206, 48, 206);
/* oklch */ color: oklch(61.5% 0.251 328.1);
Tailwind
colors: {
  custom: {
    50: '#e17bdd',
    500: '#ce30ce',
    950: '#000000',
  },
}
SCSS
$custom: #ce30ce;
$custom-light: #e17bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce30ce",
  "rgb": {
    "r": 206,
    "g": 48,
    "b": 206
  },
  "hsl": {
    "h": 300,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.25088,
    "h": 328.1
  },
  "luminance": 0.19692
}

Semantic roles & 50–950 ramp

primary
#CE30CE
secondary
#89D189
accent
#E54343
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CE30CE

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

Preview Lab → · Contrast checker → · Palette generator →

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