#CB51DE#CB51DE

#CB51DE is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.226 H 322.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CB51DE
RGBrgb(203, 81, 222)
HSLhsl(292, 68%, 59%)
HSVhsv(292, 64%, 87%)
CMYKcmyk(8.6%, 63.5%, 0%, 12.9%)
CIE-LABlab(55.94, 66.93, -49.84)
CIE-LCHlch(55.94, 83.45, 323.33°)
OKLaboklab(64.9% 0.178 -0.1388)
OKLCHoklch(64.9% 0.226 322)
XYZxyz(40.7545, 23.8574, 71.5514)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51DE #64DE51
analogous
#8551DE #CB51DE #DE51AB
triadic
#CB51DE #DECB51 #51DECB
tetradic
#CB51DE #DE8551 #64DE51 #51ABDE
square
#CB51DE #DE8551 #64DE51 #51ABDE
split-complementary
#CB51DE #ABDE51 #51DE85
monochromatic
#871D98 #B527CB #CB51DE #DA84E8 #EAB8F2

Accessibility & contrast

On white

3.64
#CB51DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CB51DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51DE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51DE#FFFFFF#000000##000000
##CB51DE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7DE2
Deuteranopia (green-blind)
#638BDA
Tritanopia (blue-blind)
#CD6891
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb51de;
/* rgb */ color: rgb(203, 81, 222);
/* oklch */ color: oklch(64.9% 0.226 322.0);
Tailwind
colors: {
  custom: {
    50: '#de8ae9',
    500: '#cb51de',
    950: '#000000',
  },
}
SCSS
$custom: #cb51de;
$custom-light: #de8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51de",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 291.915,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64899,
    "c": 0.22569,
    "h": 322
  },
  "luminance": 0.23855
}

Semantic roles & 50–950 ramp

primary
#CB51DE
secondary
#B1E1AA
accent
#EB3D54
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB51DE

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

Preview Lab → · Contrast checker → · Palette generator →

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