#CB74BD#CB74BD

#CB74BD is a light, vivid purple. Relative luminance 0.289; OKLCH L 67.9% C 0.142 H 333.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#CB74BD
RGBrgb(203, 116, 189)
HSLhsl(310, 46%, 63%)
HSVhsv(310, 43%, 80%)
CMYKcmyk(0%, 42.9%, 6.9%, 20.4%)
CIE-LABlab(60.66, 44.44, -23.75)
CIE-LCHlch(60.66, 50.39, 331.88°)
OKLaboklab(67.88% 0.1271 -0.0642)
OKLCHoklch(67.88% 0.142 333.2)
XYZxyz(40.0591, 28.8637, 51.5955)
Luminance0.2886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74BD #74CB82
analogous
#AD74CB #CB74BD #CB7492
triadic
#CB74BD #BDCB74 #74BDCB
tetradic
#CB74BD #CBAD74 #74CB82 #7492CB
square
#CB74BD #CBAD74 #74CB82 #7492CB
split-complementary
#CB74BD #92CB74 #74CBAD
monochromatic
#8F3681 #BA47A8 #CB74BD #DCA1D2 #ECCDE7

Accessibility & contrast

On white

3.10
#CB74BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#CB74BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB74BD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74BD#FFFFFF#000000##000000
##CB74BD1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC0
Deuteranopia (green-blind)
#8A97BA
Tritanopia (blue-blind)
#D27990
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cb74bd;
/* rgb */ color: rgb(203, 116, 189);
/* oklch */ color: oklch(67.9% 0.142 333.2);
Tailwind
colors: {
  custom: {
    50: '#dc9ed1',
    500: '#cb74bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb74bd;
$custom-light: #dc9ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74bd",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 189
  },
  "hsl": {
    "h": 309.655,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67881,
    "c": 0.1424,
    "h": 333.2
  },
  "luminance": 0.28861
}

Semantic roles & 50–950 ramp

primary
#CB74BD
secondary
#BEDDC3
accent
#B9432D
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150F14
muted
#837E82

Preview Lab

Preview with #CB74BD

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

Preview Lab → · Contrast checker → · Palette generator →

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