#CB3CB7#CB3CB7

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

Color values

HEX#CB3CB7
RGBrgb(203, 60, 183)
HSLhsl(308, 58%, 52%)
HSVhsv(308, 70%, 80%)
CMYKcmyk(0%, 70.4%, 9.9%, 20.4%)
CIE-LABlab(51.09, 68.47, -35.14)
CIE-LCHlch(51.09, 76.96, 332.83°)
OKLaboklab(60.75% 0.1988 -0.0961)
OKLCHoklch(60.75% 0.221 334.2)
XYZxyz(34.7920, 19.3501, 46.6931)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3CB7 #3CCB50
analogous
#983CCB #CB3CB7 #CB3C70
triadic
#CB3CB7 #B7CB3C #3CB7CB
tetradic
#CB3CB7 #CB983C #3CCB50 #3C70CB
square
#CB3CB7 #CB983C #3CCB50 #3C70CB
split-complementary
#CB3CB7 #70CB3C #3CCB98
monochromatic
#6F1E64 #9F2A8F #CB3CB7 #D86CC9 #E59DDB

Accessibility & contrast

On white

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

On black

4.87
#CB3CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3CB7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3CB7#FFFFFF#000000##000000
##CB3CB71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#D44875
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb3cb7;
/* rgb */ color: rgb(203, 60, 183);
/* oklch */ color: oklch(60.8% 0.221 334.2);
Tailwind
colors: {
  custom: {
    50: '#df7ecd',
    500: '#cb3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #cb3cb7;
$custom-light: #df7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3cb7",
  "rgb": {
    "r": 203,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 308.392,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.6075,
    "c": 0.22078,
    "h": 334.2
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#CB3CB7
secondary
#92D19B
accent
#E15C47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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