#CD4CD4#CD4CD4

#CD4CD4 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.1% C 0.225 H 325.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CD4CD4
RGBrgb(205, 76, 212)
HSLhsl(297, 61%, 56%)
HSVhsv(297, 64%, 83%)
CMYKcmyk(3.3%, 64.2%, 0%, 16.9%)
CIE-LABlab(54.97, 67.66, -45.69)
CIE-LCHlch(54.97, 81.65, 325.97°)
OKLaboklab(64.08% 0.1855 -0.1267)
OKLCHoklch(64.08% 0.225 325.7)
XYZxyz(39.6441, 22.9039, 64.6074)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4CD4 #53D44C
analogous
#894CD4 #CD4CD4 #D44C97
triadic
#CD4CD4 #D4CD4C #4CD4CD
tetradic
#CD4CD4 #D4894C #53D44C #4C97D4
square
#CD4CD4 #D4894C #53D44C #4C97D4
split-complementary
#CD4CD4 #97D44C #4CD489
monochromatic
#802086 #B02CB7 #CD4CD4 #DB7DE0 #E9AFEC

Accessibility & contrast

On white

3.76
#CD4CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CD4CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4CD4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4CD4#FFFFFF#000000##000000
##CD4CD41.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3479D8
Deuteranopia (green-blind)
#6789D0
Tritanopia (blue-blind)
#D2608A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd4cd4;
/* rgb */ color: rgb(205, 76, 212);
/* oklch */ color: oklch(64.1% 0.225 325.7);
Tailwind
colors: {
  custom: {
    50: '#e087e2',
    500: '#cd4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #cd4cd4;
$custom-light: #e087e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4cd4",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 296.912,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64084,
    "c": 0.22466,
    "h": 325.7
  },
  "luminance": 0.22901
}

Semantic roles & 50–950 ramp

primary
#CD4CD4
secondary
#A5DAA2
accent
#E4434C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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