#CB3CB8#CB3CB8

#CB3CB8 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.8% C 0.221 H 333.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CB3CB8
RGBrgb(203, 60, 184)
HSLhsl(308, 58%, 52%)
HSVhsv(308, 70%, 80%)
CMYKcmyk(0%, 70.4%, 9.4%, 20.4%)
CIE-LABlab(51.14, 68.62, -35.65)
CIE-LCHlch(51.14, 77.33, 332.55°)
OKLaboklab(60.8% 0.1988 -0.0976)
OKLCHoklch(60.8% 0.221 333.9)
XYZxyz(34.8965, 19.3919, 47.2432)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3CB8 #3CCB4F
analogous
#973CCB #CB3CB8 #CB3C71
triadic
#CB3CB8 #B8CB3C #3CB8CB
tetradic
#CB3CB8 #CB973C #3CCB4F #3C71CB
square
#CB3CB8 #CB973C #3CCB4F #3C71CB
split-complementary
#CB3CB8 #71CB3C #3CCB97
monochromatic
#6F1E64 #9F2A90 #CB3CB8 #D86CCA #E59DDB

Accessibility & contrast

On white

4.31
#CB3CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CB3CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3CB8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3CB8#FFFFFF#000000##000000
##CB3CB81.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#396DBB
Deuteranopia (green-blind)
#6C81B5
Tritanopia (blue-blind)
#D44976
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb3cb8;
/* rgb */ color: rgb(203, 60, 184);
/* oklch */ color: oklch(60.8% 0.221 333.9);
Tailwind
colors: {
  custom: {
    50: '#df7ecd',
    500: '#cb3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #cb3cb8;
$custom-light: #df7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3cb8",
  "rgb": {
    "r": 203,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 307.972,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.608,
    "c": 0.22148,
    "h": 333.9
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#CB3CB8
secondary
#92D19A
accent
#E15B47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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