#CB4CD8#CB4CD8

#CB4CD8 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.0% C 0.227 H 323.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CB4CD8
RGBrgb(203, 76, 216)
HSLhsl(294, 64%, 57%)
HSVhsv(294, 65%, 85%)
CMYKcmyk(6%, 64.8%, 0%, 15.3%)
CIE-LABlab(54.89, 67.89, -48.11)
CIE-LCHlch(54.89, 83.21, 324.68°)
OKLaboklab(64.04% 0.1834 -0.1338)
OKLCHoklch(64.04% 0.227 323.9)
XYZxyz(39.6066, 22.8256, 67.2720)
Luminance0.2282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4CD8 #59D84C
analogous
#854CD8 #CB4CD8 #D84C9F
triadic
#CB4CD8 #D8CB4C #4CD8CB
tetradic
#CB4CD8 #D8854C #59D84C #4C9FD8
square
#CB4CD8 #D8854C #59D84C #4C9FD8
split-complementary
#CB4CD8 #9FD84C #4CD885
monochromatic
#811E8B #B029BE #CB4CD8 #DA7EE3 #E8B1EE

Accessibility & contrast

On white

3.77
#CB4CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CB4CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4CD8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4CD8#FFFFFF#000000##000000
##CB4CD81.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADC
Deuteranopia (green-blind)
#6389D4
Tritanopia (blue-blind)
#CF628C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb4cd8;
/* rgb */ color: rgb(203, 76, 216);
/* oklch */ color: oklch(64.0% 0.227 323.9);
Tailwind
colors: {
  custom: {
    50: '#de87e4',
    500: '#cb4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cb4cd8;
$custom-light: #de87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4cd8",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 294.429,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64035,
    "c": 0.22702,
    "h": 323.9
  },
  "luminance": 0.22823
}

Semantic roles & 50–950 ramp

primary
#CB4CD8
secondary
#A9DCA4
accent
#E74150
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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