#CB74DB#CB74DB

#CB74DB is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.2% C 0.171 H 321.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CB74DB
RGBrgb(203, 116, 219)
HSLhsl(291, 59%, 66%)
HSVhsv(291, 47%, 86%)
CMYKcmyk(7.3%, 47%, 0%, 14.1%)
CIE-LABlab(61.92, 49.95, -38.73)
CIE-LCHlch(61.92, 63.20, 322.21°)
OKLaboklab(69.23% 0.1331 -0.1069)
OKLCHoklch(69.23% 0.171 321.2)
XYZxyz(43.6587, 30.3035, 70.5535)
Luminance0.3030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74DB #84DB74
analogous
#9774DB #CB74DB #DB74B7
triadic
#CB74DB #DBCB74 #74DBCB
tetradic
#CB74DB #DB9774 #84DB74 #74B7DB
square
#CB74DB #DB9774 #84DB74 #74B7DB
split-complementary
#CB74DB #B7DB74 #74DB97
monochromatic
#952CA9 #B943CE #CB74DB #DDA5E8 #EFD5F4

Accessibility & contrast

On white

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

On black

7.06
#CB74DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74DB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74DB#FFFFFF#000000##000000
##CB74DB1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDF
Deuteranopia (green-blind)
#7E99D8
Tritanopia (blue-blind)
#CD819D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb74db;
/* rgb */ color: rgb(203, 116, 219);
/* oklch */ color: oklch(69.2% 0.171 321.2);
Tailwind
colors: {
  custom: {
    50: '#dd9fe6',
    500: '#cb74db',
    950: '#000000',
  },
}
SCSS
$custom: #cb74db;
$custom-light: #dd9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74db",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 290.68,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69228,
    "c": 0.17068,
    "h": 321.2
  },
  "luminance": 0.30302
}

Semantic roles & 50–950 ramp

primary
#CB74DB
secondary
#CAE7C4
accent
#C61F39
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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