#CB4CB8#CB4CB8

#CB4CB8 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.4% C 0.201 H 334.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CB4CB8
RGBrgb(203, 76, 184)
HSLhsl(309, 55%, 55%)
HSVhsv(309, 63%, 80%)
CMYKcmyk(0%, 62.6%, 9.4%, 20.4%)
CIE-LABlab(53.31, 62.57, -32.26)
CIE-LCHlch(53.31, 70.40, 332.73°)
OKLaboklab(62.37% 0.1811 -0.088)
OKLCHoklch(62.37% 0.201 334.1)
XYZxyz(35.8650, 21.3289, 47.5660)
Luminance0.2133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4CB8 #4CCB5F
analogous
#9E4CCB #CB4CB8 #CB4C79
triadic
#CB4CB8 #B8CB4C #4CB8CB
tetradic
#CB4CB8 #CB9E4C #4CCB5F #4C79CB
square
#CB4CB8 #CB9E4C #4CCB5F #4C79CB
split-complementary
#CB4CB8 #79CB4C #4CCB9E
monochromatic
#79236C #A93197 #CB4CB8 #D97BCB #E7ABDE

Accessibility & contrast

On white

3.99
#CB4CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CB4CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4CB8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4CB8#FFFFFF#000000##000000
##CB4CB81.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BB
Deuteranopia (green-blind)
#7386B5
Tritanopia (blue-blind)
#D4557B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb4cb8;
/* rgb */ color: rgb(203, 76, 184);
/* oklch */ color: oklch(62.4% 0.201 334.1);
Tailwind
colors: {
  custom: {
    50: '#de86cd',
    500: '#cb4cb8',
    950: '#000000',
  },
}
SCSS
$custom: #cb4cb8;
$custom-light: #de86cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4cb8",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 308.976,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.20135,
    "h": 334.1
  },
  "luminance": 0.21326
}

Semantic roles & 50–950 ramp

primary
#CB4CB8
secondary
#9FD4A7
accent
#DE6049
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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