#CB4EB8#CB4EB8

#CB4EB8 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.6% C 0.199 H 334.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CB4EB8
RGBrgb(203, 78, 184)
HSLhsl(309, 55%, 55%)
HSVhsv(309, 62%, 80%)
CMYKcmyk(0%, 61.6%, 9.4%, 20.4%)
CIE-LABlab(53.61, 61.74, -31.79)
CIE-LCHlch(53.61, 69.44, 332.76°)
OKLaboklab(62.59% 0.1787 -0.0867)
OKLCHoklch(62.59% 0.199 334.1)
XYZxyz(36.0049, 21.6088, 47.6127)
Luminance0.2161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EB8 #4ECB61
analogous
#9F4ECB #CB4EB8 #CB4E79
triadic
#CB4EB8 #B8CB4E #4EB8CB
tetradic
#CB4EB8 #CB9F4E #4ECB61 #4E79CB
square
#CB4EB8 #CB9F4E #4ECB61 #4E79CB
split-complementary
#CB4EB8 #79CB4E #4ECB9F
monochromatic
#7B246D #AA3298 #CB4EB8 #D97DCB #E7ADDE

Accessibility & contrast

On white

3.95
#CB4EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CB4EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EB8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EB8#FFFFFF#000000##000000
##CB4EB81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#7487B5
Tritanopia (blue-blind)
#D4577C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb4eb8;
/* rgb */ color: rgb(203, 78, 184);
/* oklch */ color: oklch(62.6% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#de87cd',
    500: '#cb4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #cb4eb8;
$custom-light: #de87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4eb8",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 309.12,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62592,
    "c": 0.19858,
    "h": 334.1
  },
  "luminance": 0.21606
}

Semantic roles & 50–950 ramp

primary
#CB4EB8
secondary
#A0D5A8
accent
#DE604A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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