#CD74DB#CD74DB

#CD74DB is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.5% C 0.172 H 322.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CD74DB
RGBrgb(205, 116, 219)
HSLhsl(292, 59%, 66%)
HSVhsv(292, 47%, 86%)
CMYKcmyk(6.4%, 47%, 0%, 14.1%)
CIE-LABlab(62.16, 50.51, -38.34)
CIE-LCHlch(62.16, 63.41, 322.80°)
OKLaboklab(69.46% 0.1354 -0.1057)
OKLCHoklch(69.46% 0.172 322)
XYZxyz(44.2070, 30.5862, 70.5792)
Luminance0.3058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74DB #82DB74
analogous
#9974DB #CD74DB #DB74B5
triadic
#CD74DB #DBCD74 #74DBCD
tetradic
#CD74DB #DB9974 #82DB74 #74B5DB
square
#CD74DB #DB9974 #82DB74 #74B5DB
split-complementary
#CD74DB #B5DB74 #74DB99
monochromatic
#982CA9 #BC43CE #CD74DB #DEA5E8 #F0D5F4

Accessibility & contrast

On white

2.95
#CD74DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CD74DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74DB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74DB#FFFFFF#000000##000000
##CD74DB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DF
Deuteranopia (green-blind)
#7F9AD8
Tritanopia (blue-blind)
#CF819D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd74db;
/* rgb */ color: rgb(205, 116, 219);
/* oklch */ color: oklch(69.5% 0.172 322.0);
Tailwind
colors: {
  custom: {
    50: '#de9fe6',
    500: '#cd74db',
    950: '#000000',
  },
}
SCSS
$custom: #cd74db;
$custom-light: #de9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74db",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 291.845,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6946,
    "c": 0.17175,
    "h": 322
  },
  "luminance": 0.30584
}

Semantic roles & 50–950 ramp

primary
#CD74DB
secondary
#C9E7C4
accent
#C61F36
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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