#CB47CB#CB47CB

#CB47CB is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.8% C 0.223 H 327.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CB47CB
RGBrgb(203, 71, 203)
HSLhsl(300, 56%, 54%)
HSVhsv(300, 65%, 80%)
CMYKcmyk(0%, 65%, 0%, 20.4%)
CIE-LABlab(53.51, 67.63, -42.89)
CIE-LCHlch(53.51, 80.08, 327.62°)
OKLaboklab(62.82% 0.1885 -0.1186)
OKLCHoklch(62.82% 0.223 327.8)
XYZxyz(37.6608, 21.5173, 58.6580)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47CB #47CB47
analogous
#8947CB #CB47CB #CB4789
triadic
#CB47CB #CBCB47 #47CBCB
tetradic
#CB47CB #CB8947 #47CB47 #4789CB
square
#CB47CB #CB8947 #47CB47 #4789CB
split-complementary
#CB47CB #89CB47 #47CB89
monochromatic
#762176 #A62FA6 #CB47CB #D877D8 #E6A6E6

Accessibility & contrast

On white

3.96
#CB47CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CB47CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47CB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47CB#FFFFFF#000000##000000
##CB47CB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#6886C7
Tritanopia (blue-blind)
#D15983
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb47cb;
/* rgb */ color: rgb(203, 71, 203);
/* oklch */ color: oklch(62.8% 0.223 327.8);
Tailwind
colors: {
  custom: {
    50: '#de84db',
    500: '#cb47cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb47cb;
$custom-light: #de84db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47cb",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62818,
    "c": 0.22268,
    "h": 327.8
  },
  "luminance": 0.21515
}

Semantic roles & 50–950 ramp

primary
#CB47CB
secondary
#9BD39B
accent
#DF4949
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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