#CD9FE9#CD9FE9

#CD9FE9 is a light, moderate violet. Relative luminance 0.437; OKLCH L 77.1% C 0.114 H 312.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CD9FE9
RGBrgb(205, 159, 233)
HSLhsl(277, 63%, 77%)
HSVhsv(277, 32%, 91%)
CMYKcmyk(12%, 31.8%, 0%, 8.6%)
CIE-LABlab(72.00, 30.36, -30.79)
CIE-LCHlch(72.00, 43.24, 314.60°)
OKLaboklab(77.06% 0.0765 -0.0844)
OKLCHoklch(77.06% 0.114 312.2)
XYZxyz(52.2805, 43.6594, 82.7480)
Luminance0.4366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FE9 #BBE99F
analogous
#A89FE9 #CD9FE9 #E99FE0
triadic
#CD9FE9 #E9CD9F #9FE9CD
tetradic
#CD9FE9 #E9A89F #BBE99F #9FE0E9
square
#CD9FE9 #E9A89F #BBE99F #9FE0E9
split-complementary
#CD9FE9 #E0E99F #9FE9A8
monochromatic
#993BD2 #B36DDE #CD9FE9 #E7D1F4 #F2E6F9

Accessibility & contrast

On white

2.16
#CD9FE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#CD9FE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FE9
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FE9#FFFFFF#000000##000000
##CD9FE91.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEEC
Deuteranopia (green-blind)
#9DB2E7
Tritanopia (blue-blind)
#CBA9BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9fe9;
/* rgb */ color: rgb(205, 159, 233);
/* oklch */ color: oklch(77.1% 0.114 312.2);
Tailwind
colors: {
  custom: {
    50: '#ddbcf0',
    500: '#cd9fe9',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fe9;
$custom-light: #ddbcf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fe9",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 233
  },
  "hsl": {
    "h": 277.297,
    "s": 62.712,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77062,
    "c": 0.11392,
    "h": 312.2
  },
  "luminance": 0.43659
}

Semantic roles & 50–950 ramp

primary
#CD9FE9
secondary
#E3F1DA
accent
#CA1B5D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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