#CD9FE5#CD9FE5

#CD9FE5 is a light, moderate violet. Relative luminance 0.434; OKLCH L 76.9% C 0.109 H 313.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CD9FE5
RGBrgb(205, 159, 229)
HSLhsl(279, 57%, 76%)
HSVhsv(279, 31%, 90%)
CMYKcmyk(10.5%, 30.6%, 0%, 10.2%)
CIE-LABlab(71.85, 29.54, -28.84)
CIE-LCHlch(71.85, 41.28, 315.69°)
OKLaboklab(76.9% 0.0755 -0.0789)
OKLCHoklch(76.9% 0.109 313.7)
XYZxyz(51.7155, 43.4334, 79.7727)
Luminance0.4343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FE5 #B7E59F
analogous
#AA9FE5 #CD9FE5 #E59FDA
triadic
#CD9FE5 #E5CD9F #9FE5CD
tetradic
#CD9FE5 #E5AA9F #B7E59F #9FDAE5
square
#CD9FE5 #E5AA9F #B7E59F #9FDAE5
split-complementary
#CD9FE5 #DAE59F #9FE5AA
monochromatic
#9B3FCB #B46FD8 #CD9FE5 #E6CFF2 #F2E7F8

Accessibility & contrast

On white

2.17
#CD9FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#CD9FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FE5
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FE5#FFFFFF#000000##000000
##CD9FE51.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ADE8
Deuteranopia (green-blind)
#9EB1E3
Tritanopia (blue-blind)
#CBA8B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9fe5;
/* rgb */ color: rgb(205, 159, 229);
/* oklch */ color: oklch(76.9% 0.109 313.7);
Tailwind
colors: {
  custom: {
    50: '#ddbced',
    500: '#cd9fe5',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fe5;
$custom-light: #ddbced;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fe5",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 229
  },
  "hsl": {
    "h": 279.429,
    "s": 57.377,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76896,
    "c": 0.10916,
    "h": 313.7
  },
  "luminance": 0.43433
}

Semantic roles & 50–950 ramp

primary
#CD9FE5
secondary
#E2F0DB
accent
#C52159
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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