#CB51BE#CB51BE

#CB51BE is a light, vivid purple. Relative luminance 0.223; OKLCH L 63.2% C 0.199 H 332.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CB51BE
RGBrgb(203, 81, 190)
HSLhsl(306, 54%, 56%)
HSVhsv(306, 60%, 80%)
CMYKcmyk(0%, 60.1%, 6.4%, 20.4%)
CIE-LABlab(54.35, 61.42, -34.11)
CIE-LCHlch(54.35, 70.26, 330.96°)
OKLaboklab(63.22% 0.1758 -0.0933)
OKLCHoklch(63.22% 0.199 332)
XYZxyz(36.8652, 22.3017, 51.0682)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51BE #51CB5E
analogous
#9B51CB #CB51BE #CB5181
triadic
#CB51BE #BECB51 #51BECB
tetradic
#CB51BE #CB9B51 #51CB5E #5181CB
square
#CB51BE #CB9B51 #51CB5E #5181CB
split-complementary
#CB51BE #81CB51 #51CB9B
monochromatic
#7C2573 #AC339F #CB51BE #D980D0 #E7AFE1

Accessibility & contrast

On white

3.85
#CB51BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CB51BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51BE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51BE#FFFFFF#000000##000000
##CB51BE1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C1
Deuteranopia (green-blind)
#7388BB
Tritanopia (blue-blind)
#D35B80
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb51be;
/* rgb */ color: rgb(203, 81, 190);
/* oklch */ color: oklch(63.2% 0.199 332.0);
Tailwind
colors: {
  custom: {
    50: '#de89d2',
    500: '#cb51be',
    950: '#000000',
  },
}
SCSS
$custom: #cb51be;
$custom-light: #de89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51be",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 306.393,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.19899,
    "h": 332
  },
  "luminance": 0.22299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB51BE

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

Preview Lab → · Contrast checker → · Palette generator →

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