#CD7BE7#CD7BE7

#CD7BE7 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.1% C 0.173 H 317.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CD7BE7
RGBrgb(205, 123, 231)
HSLhsl(286, 69%, 69%)
HSVhsv(286, 47%, 91%)
CMYKcmyk(11.3%, 46.8%, 0%, 9.4%)
CIE-LABlab(64.09, 49.26, -41.99)
CIE-LCHlch(64.09, 64.73, 319.56°)
OKLaboklab(71.08% 0.1275 -0.1163)
OKLCHoklch(71.08% 0.173 317.6)
XYZxyz(46.6816, 32.9161, 79.4802)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BE7 #95E77B
analogous
#977BE7 #CD7BE7 #E77BCB
triadic
#CD7BE7 #E7CD7B #7BE7CD
tetradic
#CD7BE7 #E7977B #95E77B #7BCBE7
square
#CD7BE7 #E7977B #95E77B #7BCBE7
split-complementary
#CD7BE7 #CBE77B #7BE797
monochromatic
#9D24C4 #B947DE #CD7BE7 #E1AFF0 #F4E3FA

Accessibility & contrast

On white

2.77
#CD7BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CD7BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BE7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BE7#FFFFFF#000000##000000
##CD7BE71.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6896EB
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#CD8AA6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7be7;
/* rgb */ color: rgb(205, 123, 231);
/* oklch */ color: oklch(71.1% 0.173 317.6);
Tailwind
colors: {
  custom: {
    50: '#dea3ef',
    500: '#cd7be7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7be7;
$custom-light: #dea3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7be7",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 285.556,
    "s": 69.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71077,
    "c": 0.17253,
    "h": 317.6
  },
  "luminance": 0.32915
}

Semantic roles & 50–950 ramp

primary
#CD7BE7
secondary
#D7EECF
accent
#D11442
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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