#CD7FDC#CD7FDC

#CD7FDC is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.154 H 321.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CD7FDC
RGBrgb(205, 127, 220)
HSLhsl(290, 57%, 68%)
HSVhsv(290, 42%, 86%)
CMYKcmyk(6.8%, 42.3%, 0%, 13.7%)
CIE-LABlab(64.42, 45.00, -35.36)
CIE-LCHlch(64.42, 57.23, 321.85°)
OKLaboklab(71.17% 0.12 -0.0972)
OKLCHoklch(71.17% 0.154 321)
XYZxyz(45.6829, 33.3268, 71.7226)
Luminance0.3332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FDC #8EDC7F
analogous
#9F7FDC #CD7FDC #DC7FBC
triadic
#CD7FDC #DCCD7F #7FDCCD
tetradic
#CD7FDC #DC9F7F #8EDC7F #7FBCDC
square
#CD7FDC #DC9F7F #8EDC7F #7FBCDC
split-complementary
#CD7FDC #BCDC7F #7FDC9F
monochromatic
#9C30B0 #BA4FCF #CD7FDC #E0AFE9 #F3DFF6

Accessibility & contrast

On white

2.74
#CD7FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CD7FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FDC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FDC#FFFFFF#000000##000000
##CD7FDC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297DF
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#CF8AA3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7fdc;
/* rgb */ color: rgb(205, 127, 220);
/* oklch */ color: oklch(71.2% 0.154 321.0);
Tailwind
colors: {
  custom: {
    50: '#dea6e7',
    500: '#cd7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fdc;
$custom-light: #dea6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fdc",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 290.323,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71165,
    "c": 0.15443,
    "h": 321
  },
  "luminance": 0.33325
}

Semantic roles & 50–950 ramp

primary
#CD7FDC
secondary
#D2EACD
accent
#C5213B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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