#CB37B3#CB37B3

#CB37B3 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.1% C 0.224 H 335.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CB37B3
RGBrgb(203, 55, 179)
HSLhsl(310, 59%, 51%)
HSVhsv(310, 73%, 80%)
CMYKcmyk(0%, 72.9%, 11.8%, 20.4%)
CIE-LABlab(50.32, 69.54, -34.02)
CIE-LCHlch(50.32, 77.42, 333.93°)
OKLaboklab(60.13% 0.2033 -0.0929)
OKLCHoklch(60.13% 0.224 335.4)
XYZxyz(34.1319, 18.6866, 44.4483)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37B3 #37CB4F
analogous
#9937CB #CB37B3 #CB3769
triadic
#CB37B3 #B3CB37 #37B3CB
tetradic
#CB37B3 #CB9937 #37CB4F #3769CB
square
#CB37B3 #CB9937 #37CB4F #3769CB
split-complementary
#CB37B3 #69CB37 #37CB99
monochromatic
#6C1C5F #9C2989 #CB37B3 #D868C5 #E498D8

Accessibility & contrast

On white

4.43
#CB37B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CB37B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37B3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37B3#FFFFFF#000000##000000
##CB37B31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#376AB6
Deuteranopia (green-blind)
#6C80AF
Tritanopia (blue-blind)
#D54271
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb37b3;
/* rgb */ color: rgb(203, 55, 179);
/* oklch */ color: oklch(60.1% 0.224 335.4);
Tailwind
colors: {
  custom: {
    50: '#df7cca',
    500: '#cb37b3',
    950: '#000000',
  },
}
SCSS
$custom: #cb37b3;
$custom-light: #df7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37b3",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 309.73,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60127,
    "c": 0.22351,
    "h": 335.4
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#CB37B3
secondary
#8ED099
accent
#E25F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB37B3

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

Preview Lab → · Contrast checker → · Palette generator →

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