#CD7BE8#CD7BE8

#CD7BE8 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.1% C 0.174 H 317.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CD7BE8
RGBrgb(205, 123, 232)
HSLhsl(285, 70%, 70%)
HSVhsv(285, 47%, 91%)
CMYKcmyk(11.6%, 47%, 0%, 9%)
CIE-LABlab(64.14, 49.47, -42.47)
CIE-LCHlch(64.14, 65.20, 319.35°)
OKLaboklab(71.13% 0.1276 -0.1177)
OKLCHoklch(71.13% 0.174 317.3)
XYZxyz(46.8232, 32.9727, 80.2262)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BE8 #96E87B
analogous
#977BE8 #CD7BE8 #E87BCC
triadic
#CD7BE8 #E8CD7B #7BE8CD
tetradic
#CD7BE8 #E8977B #96E87B #7BCCE8
square
#CD7BE8 #E8977B #96E87B #7BCCE8
split-complementary
#CD7BE8 #CCE87B #7BE897
monochromatic
#9E23C6 #B947DF #CD7BE8 #E1AFF1 #F4E3FA

Accessibility & contrast

On white

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

On black

7.59
#CD7BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BE8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BE8#FFFFFF#000000##000000
##CD7BE81.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#7F9EE5
Tritanopia (blue-blind)
#CC8AA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7be8;
/* rgb */ color: rgb(205, 123, 232);
/* oklch */ color: oklch(71.1% 0.174 317.3);
Tailwind
colors: {
  custom: {
    50: '#dea3f0',
    500: '#cd7be8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7be8;
$custom-light: #dea3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7be8",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 285.138,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71126,
    "c": 0.17358,
    "h": 317.3
  },
  "luminance": 0.32971
}

Semantic roles & 50–950 ramp

primary
#CD7BE8
secondary
#D8EFD0
accent
#D21343
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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