#CD74DF#CD74DF

#CD74DF is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.7% C 0.176 H 320.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CD74DF
RGBrgb(205, 116, 223)
HSLhsl(290, 63%, 66%)
HSVhsv(290, 48%, 87%)
CMYKcmyk(8.1%, 48%, 0%, 12.5%)
CIE-LABlab(62.34, 51.28, -40.29)
CIE-LCHlch(62.34, 65.21, 321.85°)
OKLaboklab(69.65% 0.136 -0.1113)
OKLCHoklch(69.65% 0.176 320.7)
XYZxyz(44.7399, 30.7994, 73.3859)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74DF #86DF74
analogous
#9874DF #CD74DF #DF74BB
triadic
#CD74DF #DFCD74 #74DFCD
tetradic
#CD74DF #DF9874 #86DF74 #74BBDF
square
#CD74DF #DF9874 #86DF74 #74BBDF
split-complementary
#CD74DF #BBDF74 #74DF98
monochromatic
#9929B0 #BB42D4 #CD74DF #DFA6EA #F1D7F6

Accessibility & contrast

On white

2.93
#CD74DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CD74DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74DF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74DF#FFFFFF#000000##000000
##CD74DF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E3
Deuteranopia (green-blind)
#7D9ADC
Tritanopia (blue-blind)
#CF829F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd74df;
/* rgb */ color: rgb(205, 116, 223);
/* oklch */ color: oklch(69.7% 0.176 320.7);
Tailwind
colors: {
  custom: {
    50: '#de9fe9',
    500: '#cd74df',
    950: '#000000',
  },
}
SCSS
$custom: #cd74df;
$custom-light: #de9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74df",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 289.907,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69654,
    "c": 0.17573,
    "h": 320.7
  },
  "luminance": 0.30798
}

Semantic roles & 50–950 ramp

primary
#CD74DF
secondary
#CCE9C6
accent
#CA1B39
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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