#CD7BE4#CD7BE4

#CD7BE4 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.9% C 0.169 H 318.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CD7BE4
RGBrgb(205, 123, 228)
HSLhsl(287, 66%, 69%)
HSVhsv(287, 46%, 89%)
CMYKcmyk(10.1%, 46.1%, 0%, 10.6%)
CIE-LABlab(63.96, 48.67, -40.54)
CIE-LCHlch(63.96, 63.34, 320.21°)
OKLaboklab(70.93% 0.127 -0.1121)
OKLCHoklch(70.93% 0.169 318.6)
XYZxyz(46.2615, 32.7481, 77.2679)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BE4 #92E47B
analogous
#997BE4 #CD7BE4 #E47BC7
triadic
#CD7BE4 #E4CD7B #7BE4CD
tetradic
#CD7BE4 #E4997B #92E47B #7BC7E4
square
#CD7BE4 #E4997B #92E47B #7BC7E4
split-complementary
#CD7BE4 #C7E47B #7BE499
monochromatic
#9D27BE #BA48DA #CD7BE4 #E0AEEE #F3E1F9

Accessibility & contrast

On white

2.78
#CD7BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CD7BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BE4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BE4#FFFFFF#000000##000000
##CD7BE41.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#819EE1
Tritanopia (blue-blind)
#CD89A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7be4;
/* rgb */ color: rgb(205, 123, 228);
/* oklch */ color: oklch(70.9% 0.169 318.6);
Tailwind
colors: {
  custom: {
    50: '#dea3ed',
    500: '#cd7be4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7be4;
$custom-light: #dea3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7be4",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 286.857,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70931,
    "c": 0.1694,
    "h": 318.6
  },
  "luminance": 0.32746
}

Semantic roles & 50–950 ramp

primary
#CD7BE4
secondary
#D5EDCE
accent
#CE1840
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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