#CD7BE9#CD7BE9

#CD7BE9 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.2% C 0.175 H 317.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CD7BE9
RGBrgb(205, 123, 233)
HSLhsl(285, 71%, 70%)
HSVhsv(285, 47%, 91%)
CMYKcmyk(12%, 47.2%, 0%, 8.6%)
CIE-LABlab(64.19, 49.67, -42.95)
CIE-LCHlch(64.19, 65.66, 319.15°)
OKLaboklab(71.18% 0.1278 -0.1191)
OKLCHoklch(71.18% 0.175 317)
XYZxyz(46.9657, 33.0297, 80.9764)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BE9 #97E97B
analogous
#967BE9 #CD7BE9 #E97BCE
triadic
#CD7BE9 #E9CD7B #7BE9CD
tetradic
#CD7BE9 #E9967B #97E97B #7BCEE9
square
#CD7BE9 #E9967B #97E97B #7BCEE9
split-complementary
#CD7BE9 #CEE97B #7BE996
monochromatic
#9E21C8 #B947E0 #CD7BE9 #E1AFF2 #F5E4FA

Accessibility & contrast

On white

2.76
#CD7BE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CD7BE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BE9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BE9#FFFFFF#000000##000000
##CD7BE91.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796ED
Deuteranopia (green-blind)
#7E9EE6
Tritanopia (blue-blind)
#CC8BA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7be9;
/* rgb */ color: rgb(205, 123, 233);
/* oklch */ color: oklch(71.2% 0.175 317.0);
Tailwind
colors: {
  custom: {
    50: '#dea3f0',
    500: '#cd7be9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7be9;
$custom-light: #dea3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7be9",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 233
  },
  "hsl": {
    "h": 284.727,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71175,
    "c": 0.17464,
    "h": 317
  },
  "luminance": 0.33028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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