#CD7FDE#CD7FDE

#CD7FDE is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.157 H 320.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CD7FDE
RGBrgb(205, 127, 222)
HSLhsl(289, 59%, 68%)
HSVhsv(289, 43%, 87%)
CMYKcmyk(7.7%, 42.8%, 0%, 12.9%)
CIE-LABlab(64.51, 45.39, -36.34)
CIE-LCHlch(64.51, 58.14, 321.32°)
OKLaboklab(71.26% 0.1204 -0.1)
OKLCHoklch(71.26% 0.157 320.3)
XYZxyz(45.9494, 33.4334, 73.1259)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FDE #90DE7F
analogous
#9D7FDE #CD7FDE #DE7FBF
triadic
#CD7FDE #DECD7F #7FDECD
tetradic
#CD7FDE #DE9D7F #90DE7F #7FBFDE
square
#CD7FDE #DE9D7F #90DE7F #7FBFDE
split-complementary
#CD7FDE #BFDE7F #7FDE9D
monochromatic
#9C2EB4 #BA4ED1 #CD7FDE #E0B0EB #F3E0F7

Accessibility & contrast

On white

2.73
#CD7FDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CD7FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FDE
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FDE#FFFFFF#000000##000000
##CD7FDE1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E1
Deuteranopia (green-blind)
#879FDB
Tritanopia (blue-blind)
#CE8BA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7fde;
/* rgb */ color: rgb(205, 127, 222);
/* oklch */ color: oklch(71.3% 0.157 320.3);
Tailwind
colors: {
  custom: {
    50: '#dea6e8',
    500: '#cd7fde',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fde;
$custom-light: #dea6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fde",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 289.263,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71257,
    "c": 0.1565,
    "h": 320.3
  },
  "luminance": 0.33432
}

Semantic roles & 50–950 ramp

primary
#CD7FDE
secondary
#D3EBCE
accent
#C71F3D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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