#CB51CD#CB51CD

#CB51CD is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.0% C 0.211 H 327.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#CB51CD
RGBrgb(203, 81, 205)
HSLhsl(299, 55%, 56%)
HSVhsv(299, 60%, 80%)
CMYKcmyk(1%, 60.5%, 0%, 19.6%)
CIE-LABlab(55.06, 63.93, -41.58)
CIE-LCHlch(55.06, 76.26, 326.96°)
OKLaboklab(63.98% 0.1772 -0.1149)
OKLCHoklch(63.98% 0.211 327.1)
XYZxyz(38.5898, 22.9916, 60.1510)
Luminance0.2299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51CD #53CD51
analogous
#8D51CD #CB51CD #CD5191
triadic
#CB51CD #CDCB51 #51CDCB
tetradic
#CB51CD #CD8D51 #53CD51 #5191CD
square
#CB51CD #CD8D51 #53CD51 #5191CD
split-complementary
#CB51CD #91CD51 #51CD8D
monochromatic
#7E257F #AD32AF #CB51CD #D981DB #E7B0E8

Accessibility & contrast

On white

3.75
#CB51CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#CB51CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51CD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51CD#FFFFFF#000000##000000
##CB51CD1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#417AD1
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#D16188
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb51cd;
/* rgb */ color: rgb(203, 81, 205);
/* oklch */ color: oklch(64.0% 0.211 327.1);
Tailwind
colors: {
  custom: {
    50: '#de89dd',
    500: '#cb51cd',
    950: '#000000',
  },
}
SCSS
$custom: #cb51cd;
$custom-light: #de89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51cd",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 299.032,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.21119,
    "h": 327.1
  },
  "luminance": 0.22989
}

Semantic roles & 50–950 ramp

primary
#CB51CD
secondary
#A4D7A3
accent
#DF494C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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