#CB51BF#CB51BF

#CB51BF is a light, vivid purple. Relative luminance 0.223; OKLCH L 63.3% C 0.200 H 331.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CB51BF
RGBrgb(203, 81, 191)
HSLhsl(306, 54%, 56%)
HSVhsv(306, 60%, 80%)
CMYKcmyk(0%, 60.1%, 5.9%, 20.4%)
CIE-LABlab(54.39, 61.59, -34.61)
CIE-LCHlch(54.39, 70.65, 330.67°)
OKLaboklab(63.27% 0.1759 -0.0948)
OKLCHoklch(63.27% 0.2 331.7)
XYZxyz(36.9749, 22.3456, 51.6458)
Luminance0.2234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51BF #51CB5D
analogous
#9A51CB #CB51BF #CB5182
triadic
#CB51BF #BFCB51 #51BFCB
tetradic
#CB51BF #CB9A51 #51CB5D #5182CB
square
#CB51BF #CB9A51 #51CB5D #5182CB
split-complementary
#CB51BF #82CB51 #51CB9A
monochromatic
#7C2574 #AC33A0 #CB51BF #D980D0 #E7AFE2

Accessibility & contrast

On white

3.84
#CB51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CB51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51BF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51BF#FFFFFF#000000##000000
##CB51BF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#7388BC
Tritanopia (blue-blind)
#D35C81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb51bf;
/* rgb */ color: rgb(203, 81, 191);
/* oklch */ color: oklch(63.3% 0.200 331.7);
Tailwind
colors: {
  custom: {
    50: '#de89d2',
    500: '#cb51bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb51bf;
$custom-light: #de89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51bf",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 305.902,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63267,
    "c": 0.19979,
    "h": 331.7
  },
  "luminance": 0.22343
}

Semantic roles & 50–950 ramp

primary
#CB51BF
secondary
#A3D5A8
accent
#DD594A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C14
muted
#847D82

Preview Lab

Preview with #CB51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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