#CD7CE4#CD7CE4

#CD7CE4 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.1% C 0.168 H 318.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CD7CE4
RGBrgb(205, 124, 228)
HSLhsl(287, 66%, 69%)
HSVhsv(287, 46%, 89%)
CMYKcmyk(10.1%, 45.6%, 0%, 10.6%)
CIE-LABlab(64.16, 48.15, -40.22)
CIE-LCHlch(64.16, 62.74, 320.13°)
OKLaboklab(71.08% 0.1256 -0.1112)
OKLCHoklch(71.08% 0.168 318.5)
XYZxyz(46.3862, 32.9974, 77.3094)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CE4 #93E47C
analogous
#997CE4 #CD7CE4 #E47CC7
triadic
#CD7CE4 #E4CD7C #7CE4CD
tetradic
#CD7CE4 #E4997C #93E47C #7CC7E4
square
#CD7CE4 #E4997C #93E47C #7CC7E4
split-complementary
#CD7CE4 #C7E47C #7CE499
monochromatic
#9D27BE #BA49DA #CD7CE4 #E0AFEE #F4E1F9

Accessibility & contrast

On white

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

On black

7.60
#CD7CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CE4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CE4#FFFFFF#000000##000000
##CD7CE41.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B96E8
Deuteranopia (green-blind)
#819EE1
Tritanopia (blue-blind)
#CD8AA5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ce4;
/* rgb */ color: rgb(205, 124, 228);
/* oklch */ color: oklch(71.1% 0.168 318.5);
Tailwind
colors: {
  custom: {
    50: '#dea4ed',
    500: '#cd7ce4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ce4;
$custom-light: #dea4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ce4",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 286.731,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71081,
    "c": 0.16776,
    "h": 318.5
  },
  "luminance": 0.32996
}

Semantic roles & 50–950 ramp

primary
#CD7CE4
secondary
#D5EDCF
accent
#CE1840
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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