#CD7BE6#CD7BE6

#CD7BE6 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.0% C 0.171 H 317.9°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CD7BE6
RGBrgb(205, 123, 230)
HSLhsl(286, 68%, 69%)
HSVhsv(286, 47%, 90%)
CMYKcmyk(10.9%, 46.5%, 0%, 9.8%)
CIE-LABlab(64.05, 49.06, -41.50)
CIE-LCHlch(64.05, 64.26, 319.77°)
OKLaboklab(71.03% 0.1273 -0.1149)
OKLCHoklch(71.03% 0.171 317.9)
XYZxyz(46.5407, 32.8598, 78.7385)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BE6 #94E67B
analogous
#987BE6 #CD7BE6 #E67BCA
triadic
#CD7BE6 #E6CD7B #7BE6CD
tetradic
#CD7BE6 #E6987B #94E67B #7BCAE6
square
#CD7BE6 #E6987B #94E67B #7BCAE6
split-complementary
#CD7BE6 #CAE67B #7BE698
monochromatic
#9D25C2 #BA48DC #CD7BE6 #E0AEF0 #F4E2F9

Accessibility & contrast

On white

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

On black

7.57
#CD7BE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BE6
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BE6#FFFFFF#000000##000000
##CD7BE61.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6896EA
Deuteranopia (green-blind)
#809EE3
Tritanopia (blue-blind)
#CD8AA6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7be6;
/* rgb */ color: rgb(205, 123, 230);
/* oklch */ color: oklch(71.0% 0.171 317.9);
Tailwind
colors: {
  custom: {
    50: '#dea3ee',
    500: '#cd7be6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7be6;
$custom-light: #dea3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7be6",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 230
  },
  "hsl": {
    "h": 285.981,
    "s": 68.153,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71028,
    "c": 0.17149,
    "h": 317.9
  },
  "luminance": 0.32858
}

Semantic roles & 50–950 ramp

primary
#CD7BE6
secondary
#D6EECF
accent
#D01541
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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