#CB38BF#CB38BF

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

Color values

HEX#CB38BF
RGBrgb(203, 56, 191)
HSLhsl(305, 59%, 51%)
HSVhsv(305, 72%, 80%)
CMYKcmyk(0%, 72.4%, 5.9%, 20.4%)
CIE-LABlab(51.02, 71.00, -39.90)
CIE-LCHlch(51.02, 81.45, 330.67°)
OKLaboklab(60.83% 0.2031 -0.1098)
OKLCHoklch(60.83% 0.231 331.6)
XYZxyz(35.4468, 19.2893, 51.1364)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38BF #38CB44
analogous
#8D38CB #CB38BF #CB3875
triadic
#CB38BF #BFCB38 #38BFCB
tetradic
#CB38BF #CB8D38 #38CB44 #3875CB
square
#CB38BF #CB8D38 #38CB44 #3875CB
split-complementary
#CB38BF #75CB38 #38CB8D
monochromatic
#6C1C66 #9D2993 #CB38BF #D869CF #E499DE

Accessibility & contrast

On white

4.32
#CB38BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CB38BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38BF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38BF#FFFFFF#000000##000000
##CB38BF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC3
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#D34978
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb38bf;
/* rgb */ color: rgb(203, 56, 191);
/* oklch */ color: oklch(60.8% 0.231 331.6);
Tailwind
colors: {
  custom: {
    50: '#df7dd3',
    500: '#cb38bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb38bf;
$custom-light: #df7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38bf",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 304.898,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60828,
    "c": 0.23091,
    "h": 331.6
  },
  "luminance": 0.19286
}

Semantic roles & 50–950 ramp

primary
#CB38BF
secondary
#8FD094
accent
#E25346
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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