#CD7FDD#CD7FDD

#CD7FDD is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.2% C 0.155 H 320.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CD7FDD
RGBrgb(205, 127, 221)
HSLhsl(290, 58%, 68%)
HSVhsv(290, 43%, 87%)
CMYKcmyk(7.2%, 42.5%, 0%, 13.3%)
CIE-LABlab(64.47, 45.20, -35.85)
CIE-LCHlch(64.47, 57.69, 321.58°)
OKLaboklab(71.21% 0.1202 -0.0986)
OKLCHoklch(71.21% 0.155 320.6)
XYZxyz(45.8158, 33.3800, 72.4222)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FDD #8FDD7F
analogous
#9E7FDD #CD7FDD #DD7FBE
triadic
#CD7FDD #DDCD7F #7FDDCD
tetradic
#CD7FDD #DD9E7F #8FDD7F #7FBEDD
square
#CD7FDD #DD9E7F #8FDD7F #7FBEDD
split-complementary
#CD7FDD #BEDD7F #7FDD9E
monochromatic
#9C2FB2 #BA4FD0 #CD7FDD #E0AFEA #F3E0F7

Accessibility & contrast

On white

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

On black

7.68
#CD7FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FDD
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FDD#FFFFFF#000000##000000
##CD7FDD1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E0
Deuteranopia (green-blind)
#879FDA
Tritanopia (blue-blind)
#CF8BA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7fdd;
/* rgb */ color: rgb(205, 127, 221);
/* oklch */ color: oklch(71.2% 0.155 320.6);
Tailwind
colors: {
  custom: {
    50: '#dea6e8',
    500: '#cd7fdd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fdd;
$custom-light: #dea6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fdd",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 289.787,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71211,
    "c": 0.15546,
    "h": 320.6
  },
  "luminance": 0.33378
}

Semantic roles & 50–950 ramp

primary
#CD7FDD
secondary
#D2EACE
accent
#C6203C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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