#CD7AEB#CD7AEB

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

Color values

HEX#CD7AEB
RGBrgb(205, 122, 235)
HSLhsl(284, 74%, 70%)
HSVhsv(284, 48%, 92%)
CMYKcmyk(12.8%, 48.1%, 0%, 7.8%)
CIE-LABlab(64.08, 50.59, -44.23)
CIE-LCHlch(64.08, 67.19, 318.84°)
OKLaboklab(71.13% 0.1294 -0.1227)
OKLCHoklch(71.13% 0.178 316.5)
XYZxyz(47.1296, 32.8978, 82.4484)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AEB #98EB7A
analogous
#957AEB #CD7AEB #EB7AD0
triadic
#CD7AEB #EBCD7A #7AEBCD
tetradic
#CD7AEB #EB957A #98EB7A #7AD0EB
square
#CD7AEB #EB957A #98EB7A #7AD0EB
split-complementary
#CD7AEB #D0EB7A #7AEB95
monochromatic
#9E1FCC #B945E3 #CD7AEB #E1AFF3 #F5E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7AEB#FFFFFF#000000##000000
##CD7AEB1.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)
#6496EF
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#CC8AA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7aeb;
/* rgb */ color: rgb(205, 122, 235);
/* oklch */ color: oklch(71.1% 0.178 316.5);
Tailwind
colors: {
  custom: {
    50: '#dea3f2',
    500: '#cd7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cd7aeb;
$custom-light: #dea3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7aeb",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 284.071,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.71126,
    "c": 0.17835,
    "h": 316.5
  },
  "luminance": 0.32896
}

Semantic roles & 50–950 ramp

primary
#CD7AEB
secondary
#D9F0D1
accent
#D61044
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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