#CB74DC#CB74DC

#CB74DC is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.3% C 0.172 H 320.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CB74DC
RGBrgb(203, 116, 220)
HSLhsl(290, 60%, 66%)
HSVhsv(290, 47%, 86%)
CMYKcmyk(7.7%, 47.3%, 0%, 13.7%)
CIE-LABlab(61.96, 50.14, -39.22)
CIE-LCHlch(61.96, 63.66, 321.97°)
OKLaboklab(69.28% 0.1332 -0.1083)
OKLCHoklch(69.28% 0.172 320.9)
XYZxyz(43.7907, 30.3563, 71.2489)
Luminance0.3035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74DC #85DC74
analogous
#9774DC #CB74DC #DC74B9
triadic
#CB74DC #DCCB74 #74DCCB
tetradic
#CB74DC #DC9774 #85DC74 #74B9DC
square
#CB74DC #DC9774 #85DC74 #74B9DC
split-complementary
#CB74DC #B9DC74 #74DC97
monochromatic
#962BAB #B943D0 #CB74DC #DDA5E8 #F0D6F5

Accessibility & contrast

On white

2.97
#CB74DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CB74DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74DC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74DC#FFFFFF#000000##000000
##CB74DC1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FE0
Deuteranopia (green-blind)
#7D99D9
Tritanopia (blue-blind)
#CD829E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb74dc;
/* rgb */ color: rgb(203, 116, 220);
/* oklch */ color: oklch(69.3% 0.172 320.9);
Tailwind
colors: {
  custom: {
    50: '#dd9fe7',
    500: '#cb74dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb74dc;
$custom-light: #dd9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74dc",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 290.192,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69277,
    "c": 0.17168,
    "h": 320.9
  },
  "luminance": 0.30355
}

Semantic roles & 50–950 ramp

primary
#CB74DC
secondary
#CAE7C5
accent
#C71E3A
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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