#CB5EB5#CB5EB5

#CB5EB5 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.4% C 0.172 H 335.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CB5EB5
RGBrgb(203, 94, 181)
HSLhsl(312, 51%, 58%)
HSVhsv(312, 54%, 80%)
CMYKcmyk(0%, 53.7%, 10.8%, 20.4%)
CIE-LABlab(56.13, 54.09, -26.14)
CIE-LCHlch(56.13, 60.08, 334.20°)
OKLaboklab(64.4% 0.1572 -0.0708)
OKLCHoklch(64.4% 0.172 335.8)
XYZxyz(36.9720, 24.0408, 46.4001)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EB5 #5ECB74
analogous
#AA5ECB #CB5EB5 #CB5E7E
triadic
#CB5EB5 #B5CB5E #5EB5CB
tetradic
#CB5EB5 #CBAA5E #5ECB74 #5E7ECB
square
#CB5EB5 #CBAA5E #5ECB74 #5E7ECB
split-complementary
#CB5EB5 #7ECB5E #5ECBAA
monochromatic
#842B72 #B23A9A #CB5EB5 #DA8CCA #E9BBE0

Accessibility & contrast

On white

3.62
#CB5EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CB5EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EB5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EB5#FFFFFF#000000##000000
##CB5EB51.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#7E8DB2
Tritanopia (blue-blind)
#D46381
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5eb5;
/* rgb */ color: rgb(203, 94, 181);
/* oklch */ color: oklch(64.4% 0.172 335.8);
Tailwind
colors: {
  custom: {
    50: '#dd90cb',
    500: '#cb5eb5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5eb5;
$custom-light: #dd90cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5eb5",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 312.11,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64401,
    "c": 0.17237,
    "h": 335.8
  },
  "luminance": 0.24038
}

Semantic roles & 50–950 ramp

primary
#CB5EB5
secondary
#ADD8B5
accent
#DB6A4D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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