#CD7FD8#CD7FD8

#CD7FD8 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.0% C 0.150 H 322.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CD7FD8
RGBrgb(205, 127, 216)
HSLhsl(293, 53%, 67%)
HSVhsv(293, 41%, 85%)
CMYKcmyk(5.1%, 41.2%, 0%, 15.3%)
CIE-LABlab(64.26, 44.23, -33.39)
CIE-LCHlch(64.26, 55.41, 322.95°)
OKLaboklab(70.98% 0.1192 -0.0916)
OKLCHoklch(70.98% 0.15 322.5)
XYZxyz(45.1595, 33.1175, 68.9659)
Luminance0.3312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FD8 #8AD87F
analogous
#A07FD8 #CD7FD8 #D87FB7
triadic
#CD7FD8 #D8CD7F #7FD8CD
tetradic
#CD7FD8 #D8A07F #8AD87F #7FB7D8
square
#CD7FD8 #D8A07F #8AD87F #7FB7D8
split-complementary
#CD7FD8 #B7D87F #7FD8A0
monochromatic
#9B34A9 #BB50CA #CD7FD8 #DFAEE6 #F2DDF5

Accessibility & contrast

On white

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

On black

7.62
#CD7FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FD8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FD8#FFFFFF#000000##000000
##CD7FD81.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DB
Deuteranopia (green-blind)
#899FD5
Tritanopia (blue-blind)
#D089A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7fd8;
/* rgb */ color: rgb(205, 127, 216);
/* oklch */ color: oklch(71.0% 0.150 322.5);
Tailwind
colors: {
  custom: {
    50: '#dea6e4',
    500: '#cd7fd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fd8;
$custom-light: #dea6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fd8",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 216
  },
  "hsl": {
    "h": 292.584,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70983,
    "c": 0.15033,
    "h": 322.5
  },
  "luminance": 0.33116
}

Semantic roles & 50–950 ramp

primary
#CD7FD8
secondary
#CFE7CB
accent
#C12538
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD7FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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