#CD7EDF#CD7EDF

#CD7EDF is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.1% C 0.159 H 320.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CD7EDF
RGBrgb(205, 126, 223)
HSLhsl(289, 60%, 68%)
HSVhsv(289, 43%, 87%)
CMYKcmyk(8.1%, 43.5%, 0%, 12.5%)
CIE-LABlab(64.35, 46.11, -37.15)
CIE-LCHlch(64.35, 59.21, 321.15°)
OKLaboklab(71.15% 0.122 -0.1024)
OKLCHoklch(71.15% 0.159 320)
XYZxyz(45.9553, 33.2302, 73.7910)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EDF #90DF7E
analogous
#9C7EDF #CD7EDF #DF7EC0
triadic
#CD7EDF #DFCD7E #7EDFCD
tetradic
#CD7EDF #DF9C7E #90DF7E #7EC0DF
square
#CD7EDF #DF9C7E #90DF7E #7EC0DF
split-complementary
#CD7EDF #C0DF7E #7EDF9C
monochromatic
#9C2DB6 #BA4DD3 #CD7EDF #E0AFEB #F3E0F7

Accessibility & contrast

On white

2.75
#CD7EDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CD7EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EDF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EDF#FFFFFF#000000##000000
##CD7EDF1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E2
Deuteranopia (green-blind)
#859FDC
Tritanopia (blue-blind)
#CE8AA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7edf;
/* rgb */ color: rgb(205, 126, 223);
/* oklch */ color: oklch(71.1% 0.159 320.0);
Tailwind
colors: {
  custom: {
    50: '#dea5e9',
    500: '#cd7edf',
    950: '#000000',
  },
}
SCSS
$custom: #cd7edf;
$custom-light: #dea5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7edf",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 288.866,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71149,
    "c": 0.15922,
    "h": 320
  },
  "luminance": 0.33229
}

Semantic roles & 50–950 ramp

primary
#CD7EDF
secondary
#D3EBCE
accent
#C81E3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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