#CD7CDE#CD7CDE

#CD7CDE is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.8% C 0.162 H 320.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CD7CDE
RGBrgb(205, 124, 222)
HSLhsl(290, 60%, 68%)
HSVhsv(290, 44%, 87%)
CMYKcmyk(7.7%, 44.1%, 0%, 12.9%)
CIE-LABlab(63.89, 46.96, -37.30)
CIE-LCHlch(63.89, 59.97, 321.54°)
OKLaboklab(70.8% 0.1246 -0.1028)
OKLCHoklch(70.8% 0.162 320.5)
XYZxyz(45.5677, 32.6700, 72.9987)
Luminance0.3267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CDE #8DDE7C
analogous
#9C7CDE #CD7CDE #DE7CBE
triadic
#CD7CDE #DECD7C #7CDECD
tetradic
#CD7CDE #DE9C7C #8DDE7C #7CBEDE
square
#CD7CDE #DE9C7C #8DDE7C #7CBEDE
split-complementary
#CD7CDE #BEDE7C #7CDE9C
monochromatic
#9B2DB3 #BA4BD2 #CD7CDE #E0ADEA #F2DEF7

Accessibility & contrast

On white

2.79
#CD7CDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CD7CDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CDE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CDE#FFFFFF#000000##000000
##CD7CDE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E95E1
Deuteranopia (green-blind)
#849EDB
Tritanopia (blue-blind)
#CE88A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7cde;
/* rgb */ color: rgb(205, 124, 222);
/* oklch */ color: oklch(70.8% 0.162 320.5);
Tailwind
colors: {
  custom: {
    50: '#dea4e8',
    500: '#cd7cde',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cde;
$custom-light: #dea4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cde",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 222
  },
  "hsl": {
    "h": 289.592,
    "s": 59.756,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70796,
    "c": 0.16154,
    "h": 320.5
  },
  "luminance": 0.32668
}

Semantic roles & 50–950 ramp

primary
#CD7CDE
secondary
#D1EACC
accent
#C71E3B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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