#CB5FBC#CB5FBC

#CB5FBC is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.8% C 0.176 H 333.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CB5FBC
RGBrgb(203, 95, 188)
HSLhsl(308, 51%, 58%)
HSVhsv(308, 53%, 80%)
CMYKcmyk(0%, 53.2%, 7.4%, 20.4%)
CIE-LABlab(56.60, 54.76, -29.45)
CIE-LCHlch(56.60, 62.18, 331.73°)
OKLaboklab(64.85% 0.1571 -0.0801)
OKLCHoklch(64.85% 0.176 333)
XYZxyz(37.7979, 24.5143, 50.3081)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FBC #5FCB6E
analogous
#A45FCB #CB5FBC #CB5F86
triadic
#CB5FBC #BCCB5F #5FBCCB
tetradic
#CB5FBC #CBA45F #5FCB6E #5F86CB
square
#CB5FBC #CBA45F #5FCB6E #5F86CB
split-complementary
#CB5FBC #86CB5F #5FCBA4
monochromatic
#852B78 #B33AA2 #CB5FBC #DA8DCF #E9BBE3

Accessibility & contrast

On white

3.56
#CB5FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CB5FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FBC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FBC#FFFFFF#000000##000000
##CB5FBC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#7C8DB9
Tritanopia (blue-blind)
#D36685
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5fbc;
/* rgb */ color: rgb(203, 95, 188);
/* oklch */ color: oklch(64.8% 0.176 333.0);
Tailwind
colors: {
  custom: {
    50: '#dd91d0',
    500: '#cb5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fbc;
$custom-light: #dd91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fbc",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 308.333,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64845,
    "c": 0.17638,
    "h": 333
  },
  "luminance": 0.24512
}

Semantic roles & 50–950 ramp

primary
#CB5FBC
secondary
#ADD8B3
accent
#DA614D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CB5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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