#CD9BF7#CD9BF7

#CD9BF7 is a light, vivid violet. Relative luminance 0.431; OKLCH L 77.0% C 0.138 H 308.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CD9BF7
RGBrgb(205, 155, 247)
HSLhsl(273, 85%, 79%)
HSVhsv(273, 37%, 97%)
CMYKcmyk(17%, 37.2%, 0%, 3.1%)
CIE-LABlab(71.65, 35.51, -38.97)
CIE-LCHlch(71.65, 52.72, 312.34°)
OKLaboklab(76.98% 0.0855 -0.1078)
OKLCHoklch(76.98% 0.138 308.4)
XYZxyz(53.6835, 43.1378, 93.4760)
Luminance0.4314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BF7 #C5F79B
analogous
#9F9BF7 #CD9BF7 #F79BF3
triadic
#CD9BF7 #F7CD9B #9BF7CD
tetradic
#CD9BF7 #F79F9B #C5F79B #9BF3F7
square
#CD9BF7 #F79F9B #C5F79B #9BF3F7
split-complementary
#CD9BF7 #F3F79B #9BF79F
monochromatic
#942AEE #B162F2 #CD9BF7 #E9D4FC #F1E3FD

Accessibility & contrast

On white

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

On black

9.63
#CD9BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BF7
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BF7#FFFFFF#000000##000000
##CD9BF71.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ADFB
Deuteranopia (green-blind)
#94B0F4
Tritanopia (blue-blind)
#C8A9BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9bf7;
/* rgb */ color: rgb(205, 155, 247);
/* oklch */ color: oklch(77.0% 0.138 308.4);
Tailwind
colors: {
  custom: {
    50: '#ddb9fa',
    500: '#cd9bf7',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bf7;
$custom-light: #ddb9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bf7",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 272.609,
    "s": 85.185,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7698,
    "c": 0.13753,
    "h": 308.4
  },
  "luminance": 0.43137
}

Semantic roles & 50–950 ramp

primary
#CD9BF7
secondary
#E4F5D6
accent
#E20469
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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