#CD7CE5#CD7CE5

#CD7CE5 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.1% C 0.169 H 318.2°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CD7CE5
RGBrgb(205, 124, 229)
HSLhsl(286, 67%, 69%)
HSVhsv(286, 46%, 90%)
CMYKcmyk(10.5%, 45.9%, 0%, 10.2%)
CIE-LABlab(64.20, 48.35, -40.70)
CIE-LCHlch(64.20, 63.20, 319.90°)
OKLaboklab(71.13% 0.1258 -0.1126)
OKLCHoklch(71.13% 0.169 318.2)
XYZxyz(46.5254, 33.0531, 78.0426)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CE5 #94E57C
analogous
#997CE5 #CD7CE5 #E57CC9
triadic
#CD7CE5 #E5CD7C #7CE5CD
tetradic
#CD7CE5 #E5997C #94E57C #7CC9E5
square
#CD7CE5 #E5997C #94E57C #7CC9E5
split-complementary
#CD7CE5 #C9E57C #7CE599
monochromatic
#9D26C0 #BA49DB #CD7CE5 #E0AFEF #F4E2F9

Accessibility & contrast

On white

2.76
#CD7CE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CD7CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CE5
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CE5#FFFFFF#000000##000000
##CD7CE51.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A96E9
Deuteranopia (green-blind)
#819EE2
Tritanopia (blue-blind)
#CD8AA6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7ce5;
/* rgb */ color: rgb(205, 124, 229);
/* oklch */ color: oklch(71.1% 0.169 318.2);
Tailwind
colors: {
  custom: {
    50: '#dea4ed',
    500: '#cd7ce5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ce5;
$custom-light: #dea4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ce5",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 229
  },
  "hsl": {
    "h": 286.286,
    "s": 66.879,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7113,
    "c": 0.1688,
    "h": 318.2
  },
  "luminance": 0.33052
}

Semantic roles & 50–950 ramp

primary
#CD7CE5
secondary
#D6EECF
accent
#CF1741
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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