#CD7EDB#CD7EDB

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

Color values

HEX#CD7EDB
RGBrgb(205, 126, 219)
HSLhsl(291, 56%, 68%)
HSVhsv(291, 42%, 86%)
CMYKcmyk(6.4%, 42.5%, 0%, 14.1%)
CIE-LABlab(64.17, 45.33, -35.19)
CIE-LCHlch(64.17, 57.39, 322.18°)
OKLaboklab(70.96% 0.1212 -0.0967)
OKLCHoklch(70.96% 0.155 321.4)
XYZxyz(45.4224, 33.0170, 70.9844)
Luminance0.3301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EDB #8CDB7E
analogous
#9F7EDB #CD7EDB #DB7EBA
triadic
#CD7EDB #DBCD7E #7EDBCD
tetradic
#CD7EDB #DB9F7E #8CDB7E #7EBADB
square
#CD7EDB #DB9F7E #8CDB7E #7EBADB
split-complementary
#CD7EDB #BADB7E #7EDB9F
monochromatic
#9B31AE #BA4ECE #CD7EDB #E0AEE8 #F2DEF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7EDB#FFFFFF#000000##000000
##CD7EDB1.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)
#7296DE
Deuteranopia (green-blind)
#879FD8
Tritanopia (blue-blind)
#CF89A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7edb;
/* rgb */ color: rgb(205, 126, 219);
/* oklch */ color: oklch(71.0% 0.155 321.4);
Tailwind
colors: {
  custom: {
    50: '#dea5e6',
    500: '#cd7edb',
    950: '#000000',
  },
}
SCSS
$custom: #cd7edb;
$custom-light: #dea5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7edb",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 219
  },
  "hsl": {
    "h": 290.968,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70964,
    "c": 0.1551,
    "h": 321.4
  },
  "luminance": 0.33015
}

Semantic roles & 50–950 ramp

primary
#CD7EDB
secondary
#D0E9CC
accent
#C4223A
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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