#CD9CED#CD9CED

#CD9CED is a light, vivid violet. Relative luminance 0.429; OKLCH L 76.7% C 0.124 H 311.3°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CD9CED
RGBrgb(205, 156, 237)
HSLhsl(276, 69%, 77%)
HSVhsv(276, 34%, 93%)
CMYKcmyk(13.5%, 34.2%, 0%, 7.1%)
CIE-LABlab(71.47, 32.84, -33.80)
CIE-LCHlch(71.47, 47.12, 314.17°)
OKLaboklab(76.71% 0.0818 -0.093)
OKLCHoklch(76.71% 0.124 311.3)
XYZxyz(52.3487, 42.8712, 85.6216)
Luminance0.4287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CED #BCED9C
analogous
#A59CED #CD9CED #ED9CE5
triadic
#CD9CED #EDCD9C #9CEDCD
tetradic
#CD9CED #EDA59C #BCED9C #9CE5ED
square
#CD9CED #EDA59C #BCED9C #9CE5ED
split-complementary
#CD9CED #E5ED9C #9CEDA5
monochromatic
#9934DA #B368E4 #CD9CED #E7D0F6 #F2E5FA

Accessibility & contrast

On white

2.19
#CD9CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#CD9CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CED
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CED#FFFFFF#000000##000000
##CD9CED1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADF0
Deuteranopia (green-blind)
#99B0EB
Tritanopia (blue-blind)
#CAA7BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9ced;
/* rgb */ color: rgb(205, 156, 237);
/* oklch */ color: oklch(76.7% 0.124 311.3);
Tailwind
colors: {
  custom: {
    50: '#ddb9f3',
    500: '#cd9ced',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ced;
$custom-light: #ddb9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ced",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 237
  },
  "hsl": {
    "h": 276.296,
    "s": 69.231,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76708,
    "c": 0.12383,
    "h": 311.3
  },
  "luminance": 0.4287
}

Semantic roles & 50–950 ramp

primary
#CD9CED
secondary
#E3F2D9
accent
#D1145F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD9CED

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

Preview Lab → · Contrast checker → · Palette generator →

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