#CE54BC#CE54BC

#CE54BC is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.9% C 0.195 H 333.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CE54BC
RGBrgb(206, 84, 188)
HSLhsl(309, 55%, 57%)
HSVhsv(309, 59%, 81%)
CMYKcmyk(0%, 59.2%, 8.7%, 19.2%)
CIE-LABlab(55.17, 60.60, -31.63)
CIE-LCHlch(55.17, 68.36, 332.44°)
OKLaboklab(63.88% 0.1749 -0.0862)
OKLCHoklch(63.88% 0.195 333.8)
XYZxyz(37.7011, 23.0961, 50.0395)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE54BC #54CE66
analogous
#A354CE #CE54BC #CE547F
triadic
#CE54BC #BCCE54 #54BCCE
tetradic
#CE54BC #CEA354 #54CE66 #547FCE
square
#CE54BC #CEA354 #54CE66 #547FCE
split-complementary
#CE54BC #7FCE54 #54CEA3
monochromatic
#822575 #B2339F #CE54BC #DC84CF #E9B3E1

Accessibility & contrast

On white

3.74
#CE54BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CE54BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE54BC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE54BC#FFFFFF#000000##000000
##CE54BC1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#788BB9
Tritanopia (blue-blind)
#D75D80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ce54bc;
/* rgb */ color: rgb(206, 84, 188);
/* oklch */ color: oklch(63.9% 0.195 333.8);
Tailwind
colors: {
  custom: {
    50: '#e08bd0',
    500: '#ce54bc',
    950: '#000000',
  },
}
SCSS
$custom: #ce54bc;
$custom-light: #e08bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce54bc",
  "rgb": {
    "r": 206,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 308.852,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63881,
    "c": 0.19502,
    "h": 333.8
  },
  "luminance": 0.23093
}

Semantic roles & 50–950 ramp

primary
#CE54BC
secondary
#A6D8AD
accent
#DF5F49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CE54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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