#CD7DE3#CD7DE3

#CD7DE3 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.2% C 0.165 H 318.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CD7DE3
RGBrgb(205, 125, 227)
HSLhsl(287, 65%, 69%)
HSVhsv(287, 45%, 89%)
CMYKcmyk(9.7%, 44.9%, 0%, 11%)
CIE-LABlab(64.32, 47.43, -39.42)
CIE-LCHlch(64.32, 61.67, 320.27°)
OKLaboklab(71.19% 0.1241 -0.1089)
OKLCHoklch(71.19% 0.165 318.7)
XYZxyz(46.3737, 33.1940, 76.6224)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DE3 #93E37D
analogous
#9A7DE3 #CD7DE3 #E37DC6
triadic
#CD7DE3 #E3CD7D #7DE3CD
tetradic
#CD7DE3 #E39A7D #93E37D #7DC6E3
square
#CD7DE3 #E39A7D #93E37D #7DC6E3
split-complementary
#CD7DE3 #C6E37D #7DE39A
monochromatic
#9D29BD #BA4BD8 #CD7DE3 #E0AFEE #F4E2F9

Accessibility & contrast

On white

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

On black

7.64
#CD7DE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DE3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DE3#FFFFFF#000000##000000
##CD7DE31.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E7
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#CD8BA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7de3;
/* rgb */ color: rgb(205, 125, 227);
/* oklch */ color: oklch(71.2% 0.165 318.7);
Tailwind
colors: {
  custom: {
    50: '#dea5ec',
    500: '#cd7de3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7de3;
$custom-light: #dea5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7de3",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 227
  },
  "hsl": {
    "h": 287.059,
    "s": 64.557,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71185,
    "c": 0.16506,
    "h": 318.7
  },
  "luminance": 0.33192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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