#CB47E2#CB47E2

#CB47E2 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.1% C 0.241 H 321.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CB47E2
RGBrgb(203, 71, 226)
HSLhsl(291, 73%, 58%)
HSVhsv(291, 69%, 89%)
CMYKcmyk(10.2%, 68.6%, 0%, 11.4%)
CIE-LABlab(54.76, 71.59, -53.99)
CIE-LCHlch(54.76, 89.67, 322.98°)
OKLaboklab(64.12% 0.1886 -0.1509)
OKLCHoklch(64.12% 0.241 321.3)
XYZxyz(40.6078, 22.6961, 74.1786)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47E2 #5EE247
analogous
#7D47E2 #CB47E2 #E247AB
triadic
#CB47E2 #E2CB47 #47E2CB
tetradic
#CB47E2 #E27D47 #5EE247 #47ABE2
square
#CB47E2 #E27D47 #5EE247 #47ABE2
split-complementary
#CB47E2 #ABE247 #47E27D
monochromatic
#841897 #B220CC #CB47E2 #DA7CEA #E9B1F3

Accessibility & contrast

On white

3.79
#CB47E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CB47E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47E2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47E2#FFFFFF#000000##000000
##CB47E21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#057AE6
Deuteranopia (green-blind)
#5988DE
Tritanopia (blue-blind)
#CD6390
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb47e2;
/* rgb */ color: rgb(203, 71, 226);
/* oklch */ color: oklch(64.1% 0.241 321.3);
Tailwind
colors: {
  custom: {
    50: '#df85ec',
    500: '#cb47e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb47e2;
$custom-light: #df85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47e2",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 291.097,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64117,
    "c": 0.24148,
    "h": 321.3
  },
  "luminance": 0.22694
}

Semantic roles & 50–950 ramp

primary
#CB47E2
secondary
#ADE1A4
accent
#EF3854
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB47E2

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

Preview Lab → · Contrast checker → · Palette generator →

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