#CD74BF#CD74BF

#CD74BF is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.2% C 0.146 H 333.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#CD74BF
RGBrgb(205, 116, 191)
HSLhsl(309, 47%, 63%)
HSVhsv(309, 43%, 80%)
CMYKcmyk(0%, 43.4%, 6.8%, 19.6%)
CIE-LABlab(60.99, 45.41, -24.36)
CIE-LCHlch(60.99, 51.54, 331.79°)
OKLaboklab(68.2% 0.1299 -0.0659)
OKLCHoklch(68.2% 0.146 333.1)
XYZxyz(40.8260, 29.2338, 52.7724)
Luminance0.2923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74BF #74CD82
analogous
#AE74CD #CD74BF #CD7492
triadic
#CD74BF #BFCD74 #74BFCD
tetradic
#CD74BF #CDAE74 #74CD82 #7492CD
square
#CD74BF #CDAE74 #74CD82 #7492CD
split-complementary
#CD74BF #92CD74 #74CDAE
monochromatic
#923583 #BD47AA #CD74BF #DDA1D4 #EDCEE8

Accessibility & contrast

On white

3.07
#CD74BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#CD74BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD74BF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74BF#FFFFFF#000000##000000
##CD74BF1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC2
Deuteranopia (green-blind)
#8A98BC
Tritanopia (blue-blind)
#D47991
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd74bf;
/* rgb */ color: rgb(205, 116, 191);
/* oklch */ color: oklch(68.2% 0.146 333.1);
Tailwind
colors: {
  custom: {
    50: '#de9ed2',
    500: '#cd74bf',
    950: '#000000',
  },
}
SCSS
$custom: #cd74bf;
$custom-light: #de9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74bf",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 309.438,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68204,
    "c": 0.14562,
    "h": 333.1
  },
  "luminance": 0.29232
}

Semantic roles & 50–950 ramp

primary
#CD74BF
secondary
#BEDEC3
accent
#BA422B
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150F14
muted
#837E82

Preview Lab

Preview with #CD74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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