#CD7CE0#CD7CE0

#CD7CE0 is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.164 H 319.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CD7CE0
RGBrgb(205, 124, 224)
HSLhsl(289, 62%, 68%)
HSVhsv(289, 45%, 88%)
CMYKcmyk(8.5%, 44.6%, 0%, 12.2%)
CIE-LABlab(63.98, 47.36, -38.27)
CIE-LCHlch(63.98, 60.89, 321.05°)
OKLaboklab(70.89% 0.125 -0.1056)
OKLCHoklch(70.89% 0.164 319.8)
XYZxyz(45.8373, 32.7779, 74.4188)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CE0 #8FE07C
analogous
#9B7CE0 #CD7CE0 #E07CC1
triadic
#CD7CE0 #E0CD7C #7CE0CD
tetradic
#CD7CE0 #E09B7C #8FE07C #7CC1E0
square
#CD7CE0 #E09B7C #8FE07C #7CC1E0
split-complementary
#CD7CE0 #C1E07C #7CE09B
monochromatic
#9C2BB6 #BA4BD4 #CD7CE0 #E0ADEC #F3DFF7

Accessibility & contrast

On white

2.78
#CD7CE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CD7CE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CE0
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CE0#FFFFFF#000000##000000
##CD7CE01.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D95E4
Deuteranopia (green-blind)
#839EDD
Tritanopia (blue-blind)
#CE89A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ce0;
/* rgb */ color: rgb(205, 124, 224);
/* oklch */ color: oklch(70.9% 0.164 319.8);
Tailwind
colors: {
  custom: {
    50: '#dea4ea',
    500: '#cd7ce0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ce0;
$custom-light: #dea4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ce0",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 224
  },
  "hsl": {
    "h": 288.6,
    "s": 61.728,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7089,
    "c": 0.1636,
    "h": 319.8
  },
  "luminance": 0.32776
}

Semantic roles & 50–950 ramp

primary
#CD7CE0
secondary
#D2EBCD
accent
#C91C3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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