#CB38B9#CB38B9

#CB38B9 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.227 H 333.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CB38B9
RGBrgb(203, 56, 185)
HSLhsl(307, 59%, 51%)
HSVhsv(307, 72%, 80%)
CMYKcmyk(0%, 72.4%, 8.9%, 20.4%)
CIE-LABlab(50.72, 70.10, -36.89)
CIE-LCHlch(50.72, 79.21, 332.24°)
OKLaboklab(60.51% 0.2028 -0.1011)
OKLCHoklch(60.51% 0.227 333.5)
XYZxyz(34.8000, 19.0306, 47.7300)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38B9 #38CB4A
analogous
#9338CB #CB38B9 #CB386F
triadic
#CB38B9 #B9CB38 #38B9CB
tetradic
#CB38B9 #CB9338 #38CB4A #386FCB
square
#CB38B9 #CB9338 #38CB4A #386FCB
split-complementary
#CB38B9 #6FCB38 #38CB93
monochromatic
#6C1C63 #9D298F #CB38B9 #D869CA #E499DB

Accessibility & contrast

On white

4.37
#CB38B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CB38B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38B9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38B9#FFFFFF#000000##000000
##CB38B91.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#336BBD
Deuteranopia (green-blind)
#6A80B5
Tritanopia (blue-blind)
#D44675
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb38b9;
/* rgb */ color: rgb(203, 56, 185);
/* oklch */ color: oklch(60.5% 0.227 333.5);
Tailwind
colors: {
  custom: {
    50: '#df7dce',
    500: '#cb38b9',
    950: '#000000',
  },
}
SCSS
$custom: #cb38b9;
$custom-light: #df7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38b9",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 307.347,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60514,
    "c": 0.22662,
    "h": 333.5
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

primary
#CB38B9
secondary
#8FD097
accent
#E25946
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB38B9

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

Preview Lab → · Contrast checker → · Palette generator →

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