#CB51CA#CB51CA

#CB51CA is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.8% C 0.209 H 328.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CB51CA
RGBrgb(203, 81, 202)
HSLhsl(300, 54%, 56%)
HSVhsv(300, 60%, 80%)
CMYKcmyk(0%, 60.1%, 0.5%, 20.4%)
CIE-LABlab(54.92, 63.42, -40.10)
CIE-LCHlch(54.92, 75.03, 327.69°)
OKLaboklab(63.82% 0.177 -0.1106)
OKLCHoklch(63.82% 0.209 328)
XYZxyz(38.2312, 22.8481, 58.2621)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51CA #51CB52
analogous
#8F51CB #CB51CA #CB518D
triadic
#CB51CA #CACB51 #51CACB
tetradic
#CB51CA #CB8F51 #51CB52 #518DCB
square
#CB51CA #CB8F51 #51CB52 #518DCB
split-complementary
#CB51CA #8DCB51 #51CB8F
monochromatic
#7C257C #AC33AB #CB51CA #D980D8 #E7AFE7

Accessibility & contrast

On white

3.77
#CB51CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CB51CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51CA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51CA#FFFFFF#000000##000000
##CB51CA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#6E89C7
Tritanopia (blue-blind)
#D16086
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb51ca;
/* rgb */ color: rgb(203, 81, 202);
/* oklch */ color: oklch(63.8% 0.209 328.0);
Tailwind
colors: {
  custom: {
    50: '#de89da',
    500: '#cb51ca',
    950: '#000000',
  },
}
SCSS
$custom: #cb51ca;
$custom-light: #de89da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51ca",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 300.492,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6382,
    "c": 0.2087,
    "h": 328
  },
  "luminance": 0.22846
}

Semantic roles & 50–950 ramp

primary
#CB51CA
secondary
#A3D5A3
accent
#DD4C4A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CB51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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