#CB38C0#CB38C0

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

Color values

HEX#CB38C0
RGBrgb(203, 56, 192)
HSLhsl(304, 59%, 51%)
HSVhsv(304, 72%, 80%)
CMYKcmyk(0%, 72.4%, 5.4%, 20.4%)
CIE-LABlab(51.08, 71.16, -40.40)
CIE-LCHlch(51.08, 81.83, 330.41°)
OKLaboklab(60.88% 0.2032 -0.1112)
OKLCHoklch(60.88% 0.232 331.3)
XYZxyz(35.5572, 19.3335, 51.7179)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38C0 #38CB43
analogous
#8C38CB #CB38C0 #CB3876
triadic
#CB38C0 #C0CB38 #38C0CB
tetradic
#CB38C0 #CB8C38 #38CB43 #3876CB
square
#CB38C0 #CB8C38 #38CB43 #3876CB
split-complementary
#CB38C0 #76CB38 #38CB8C
monochromatic
#6C1C66 #9D2994 #CB38C0 #D869CF #E499DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB38C0#FFFFFF#000000##000000
##CB38C01.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6DC4
Deuteranopia (green-blind)
#6681BC
Tritanopia (blue-blind)
#D34A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb38c0;
/* rgb */ color: rgb(203, 56, 192);
/* oklch */ color: oklch(60.9% 0.232 331.3);
Tailwind
colors: {
  custom: {
    50: '#df7dd3',
    500: '#cb38c0',
    950: '#000000',
  },
}
SCSS
$custom: #cb38c0;
$custom-light: #df7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38c0",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 304.49,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.23163,
    "h": 331.3
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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