#CD42CF#CD42CF

#CD42CF is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.8% C 0.233 H 327.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CD42CF
RGBrgb(205, 66, 207)
HSLhsl(299, 59%, 54%)
HSVhsv(299, 68%, 81%)
CMYKcmyk(1%, 68.1%, 0%, 18.8%)
CIE-LABlab(53.37, 70.60, -45.39)
CIE-LCHlch(53.37, 83.93, 327.26°)
OKLaboklab(62.84% 0.196 -0.1257)
OKLCHoklch(62.84% 0.233 327.3)
XYZxyz(38.3870, 21.3832, 61.1249)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42CF #44CF42
analogous
#8642CF #CD42CF #CF428A
triadic
#CD42CF #CFCD42 #42CFCD
tetradic
#CD42CF #CF8642 #44CF42 #428ACF
square
#CD42CF #CF8642 #44CF42 #428ACF
split-complementary
#CD42CF #8ACF42 #42CF86
monochromatic
#771F78 #A72BA9 #CD42CF #DA73DB #E7A4E8

Accessibility & contrast

On white

3.98
#CD42CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CD42CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42CF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42CF#FFFFFF#000000##000000
##CD42CF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#D35784
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd42cf;
/* rgb */ color: rgb(205, 66, 207);
/* oklch */ color: oklch(62.8% 0.233 327.3);
Tailwind
colors: {
  custom: {
    50: '#e082de',
    500: '#cd42cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd42cf;
$custom-light: #e082de;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42cf",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 299.149,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62841,
    "c": 0.23284,
    "h": 327.3
  },
  "luminance": 0.21381
}

Semantic roles & 50–950 ramp

primary
#CD42CF
secondary
#99D598
accent
#E34547
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD42CF

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

Preview Lab → · Contrast checker → · Palette generator →

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