#CD7BDE#CD7BDE

#CD7BDE is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.6% C 0.163 H 320.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CD7BDE
RGBrgb(205, 123, 222)
HSLhsl(290, 60%, 68%)
HSVhsv(290, 45%, 87%)
CMYKcmyk(7.7%, 44.6%, 0%, 12.9%)
CIE-LABlab(63.69, 47.49, -37.62)
CIE-LCHlch(63.69, 60.58, 321.61°)
OKLaboklab(70.64% 0.126 -0.1037)
OKLCHoklch(70.64% 0.163 320.6)
XYZxyz(45.4430, 32.4207, 72.9571)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BDE #8CDE7B
analogous
#9B7BDE #CD7BDE #DE7BBD
triadic
#CD7BDE #DECD7B #7BDECD
tetradic
#CD7BDE #DE9B7B #8CDE7B #7BBDDE
square
#CD7BDE #DE9B7B #8CDE7B #7BBDDE
split-complementary
#CD7BDE #BDDE7B #7BDE9B
monochromatic
#9B2DB2 #BA4AD2 #CD7BDE #E0ACEA #F2DDF6

Accessibility & contrast

On white

2.81
#CD7BDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CD7BDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BDE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BDE#FFFFFF#000000##000000
##CD7BDE1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94E1
Deuteranopia (green-blind)
#839DDB
Tritanopia (blue-blind)
#CF88A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7bde;
/* rgb */ color: rgb(205, 123, 222);
/* oklch */ color: oklch(70.6% 0.163 320.6);
Tailwind
colors: {
  custom: {
    50: '#dea3e8',
    500: '#cd7bde',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bde;
$custom-light: #dea3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bde",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 222
  },
  "hsl": {
    "h": 289.697,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70644,
    "c": 0.1632,
    "h": 320.6
  },
  "luminance": 0.32419
}

Semantic roles & 50–950 ramp

primary
#CD7BDE
secondary
#D0EACB
accent
#C81E3B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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