#CD74CB#CD74CB

#CD74CB is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.7% C 0.156 H 327.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CD74CB
RGBrgb(205, 116, 203)
HSLhsl(301, 47%, 63%)
HSVhsv(301, 43%, 80%)
CMYKcmyk(0%, 43.4%, 1%, 19.6%)
CIE-LABlab(61.47, 47.53, -30.42)
CIE-LCHlch(61.47, 56.43, 327.38°)
OKLaboklab(68.72% 0.1325 -0.083)
OKLCHoklch(68.72% 0.156 327.9)
XYZxyz(42.2010, 29.7838, 60.0143)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74CB #74CD76
analogous
#A274CD #CD74CB #CD749F
triadic
#CD74CB #CBCD74 #74CBCD
tetradic
#CD74CB #CDA274 #74CD76 #749FCD
square
#CD74CB #CDA274 #74CD76 #749FCD
split-complementary
#CD74CB #9FCD74 #74CDA2
monochromatic
#923590 #BD47BA #CD74CB #DDA1DC #EDCEED

Accessibility & contrast

On white

3.02
#CD74CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CD74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD74CB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74CB#FFFFFF#000000##000000
##CD74CB1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCE
Deuteranopia (green-blind)
#8699C8
Tritanopia (blue-blind)
#D27C96
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd74cb;
/* rgb */ color: rgb(205, 116, 203);
/* oklch */ color: oklch(68.7% 0.156 327.9);
Tailwind
colors: {
  custom: {
    50: '#de9edb',
    500: '#cd74cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd74cb;
$custom-light: #de9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74cb",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 301.348,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68721,
    "c": 0.15638,
    "h": 327.9
  },
  "luminance": 0.29782
}

Semantic roles & 50–950 ramp

primary
#CD74CB
secondary
#BEDEBF
accent
#BA2E2B
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150F15
muted
#837E83

Preview Lab

Preview with #CD74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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