#CB5EB9#CB5EB9

#CB5EB9 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.6% C 0.176 H 334.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CB5EB9
RGBrgb(203, 94, 185)
HSLhsl(310, 51%, 58%)
HSVhsv(310, 54%, 80%)
CMYKcmyk(0%, 53.7%, 8.9%, 20.4%)
CIE-LABlab(56.29, 54.74, -28.19)
CIE-LCHlch(56.29, 61.57, 332.75°)
OKLaboklab(64.58% 0.1579 -0.0766)
OKLCHoklch(64.58% 0.176 334.1)
XYZxyz(37.3883, 24.2073, 48.5928)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EB9 #5ECB70
analogous
#A65ECB #CB5EB9 #CB5E82
triadic
#CB5EB9 #B9CB5E #5EB9CB
tetradic
#CB5EB9 #CBA65E #5ECB70 #5E82CB
square
#CB5EB9 #CBA65E #5ECB70 #5E82CB
split-complementary
#CB5EB9 #82CB5E #5ECBA6
monochromatic
#842B75 #B23A9E #CB5EB9 #DA8CCD #E9BBE1

Accessibility & contrast

On white

3.60
#CB5EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CB5EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EB9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EB9#FFFFFF#000000##000000
##CB5EB91.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBC
Deuteranopia (green-blind)
#7D8DB6
Tritanopia (blue-blind)
#D36583
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5eb9;
/* rgb */ color: rgb(203, 94, 185);
/* oklch */ color: oklch(64.6% 0.176 334.1);
Tailwind
colors: {
  custom: {
    50: '#dd90ce',
    500: '#cb5eb9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5eb9;
$custom-light: #dd90ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5eb9",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 309.908,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64579,
    "c": 0.17553,
    "h": 334.1
  },
  "luminance": 0.24205
}

Semantic roles & 50–950 ramp

primary
#CB5EB9
secondary
#ADD8B4
accent
#DB654D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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