#CD9BF9#CD9BF9

#CD9BF9 is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.1% C 0.140 H 307.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#CD9BF9
RGBrgb(205, 155, 249)
HSLhsl(272, 89%, 79%)
HSVhsv(272, 38%, 98%)
CMYKcmyk(17.7%, 37.8%, 0%, 2.4%)
CIE-LABlab(71.73, 35.94, -39.92)
CIE-LCHlch(71.73, 53.72, 312.00°)
OKLaboklab(77.07% 0.0859 -0.1105)
OKLCHoklch(77.07% 0.14 307.9)
XYZxyz(53.9938, 43.2619, 95.1101)
Luminance0.4326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BF9 #C7F99B
analogous
#9E9BF9 #CD9BF9 #F99BF6
triadic
#CD9BF9 #F9CD9B #9BF9CD
tetradic
#CD9BF9 #F99E9B #C7F99B #9BF6F9
square
#CD9BF9 #F99E9B #C7F99B #9BF6F9
split-complementary
#CD9BF9 #F6F99B #9BF99E
monochromatic
#9328F2 #B061F6 #CD9BF9 #EAD5FC #F1E2FD

Accessibility & contrast

On white

2.18
#CD9BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#CD9BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BF9
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BF9#FFFFFF#000000##000000
##CD9BF91.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFD
Deuteranopia (green-blind)
#93B0F6
Tritanopia (blue-blind)
#C7A9BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9bf9;
/* rgb */ color: rgb(205, 155, 249);
/* oklch */ color: oklch(77.1% 0.140 307.9);
Tailwind
colors: {
  custom: {
    50: '#ddb9fb',
    500: '#cd9bf9',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bf9;
$custom-light: #ddb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bf9",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 249
  },
  "hsl": {
    "h": 271.915,
    "s": 88.679,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77071,
    "c": 0.13995,
    "h": 307.9
  },
  "luminance": 0.43261
}

Semantic roles & 50–950 ramp

primary
#CD9BF9
secondary
#E4F5D6
accent
#E5006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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