#CE51BA#CE51BA

#CE51BA is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.4% C 0.198 H 334.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CE51BA
RGBrgb(206, 81, 186)
HSLhsl(310, 56%, 56%)
HSVhsv(310, 61%, 81%)
CMYKcmyk(0%, 60.7%, 9.7%, 19.2%)
CIE-LABlab(54.61, 61.58, -31.35)
CIE-LCHlch(54.61, 69.10, 333.02°)
OKLaboklab(63.44% 0.1784 -0.0854)
OKLCHoklch(63.44% 0.198 334.4)
XYZxyz(37.2592, 22.5547, 48.8360)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51BA #51CE65
analogous
#A451CE #CE51BA #CE517C
triadic
#CE51BA #BACE51 #51BACE
tetradic
#CE51BA #CEA451 #51CE65 #517CCE
square
#CE51BA #CEA451 #51CE65 #517CCE
split-complementary
#CE51BA #7CCE51 #51CEA4
monochromatic
#802472 #B0329C #CE51BA #DB81CD #E9B1E0

Accessibility & contrast

On white

3.81
#CE51BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CE51BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51BA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51BA#FFFFFF#000000##000000
##CE51BA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#7789B7
Tritanopia (blue-blind)
#D7597E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ce51ba;
/* rgb */ color: rgb(206, 81, 186);
/* oklch */ color: oklch(63.4% 0.198 334.4);
Tailwind
colors: {
  custom: {
    50: '#e089cf',
    500: '#ce51ba',
    950: '#000000',
  },
}
SCSS
$custom: #ce51ba;
$custom-light: #e089cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51ba",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 309.6,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63442,
    "c": 0.19779,
    "h": 334.4
  },
  "luminance": 0.22552
}

Semantic roles & 50–950 ramp

primary
#CE51BA
secondary
#A4D7AC
accent
#DF6148
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CE51BA

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

Preview Lab → · Contrast checker → · Palette generator →

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