#CD9BF6#CD9BF6

#CD9BF6 is a light, vivid violet. Relative luminance 0.431; OKLCH L 76.9% C 0.136 H 308.7°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#CD9BF6
RGBrgb(205, 155, 246)
HSLhsl(273, 83%, 79%)
HSVhsv(273, 37%, 96%)
CMYKcmyk(16.7%, 37%, 0%, 3.5%)
CIE-LABlab(71.61, 35.29, -38.49)
CIE-LCHlch(71.61, 52.22, 312.52°)
OKLaboklab(76.93% 0.0853 -0.1064)
OKLCHoklch(76.93% 0.136 308.7)
XYZxyz(53.5296, 43.0762, 92.6655)
Luminance0.4308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BF6 #C4F69B
analogous
#9F9BF6 #CD9BF6 #F69BF1
triadic
#CD9BF6 #F6CD9B #9BF6CD
tetradic
#CD9BF6 #F69F9B #C4F69B #9BF1F6
square
#CD9BF6 #F69F9B #C4F69B #9BF1F6
split-complementary
#CD9BF6 #F1F69B #9BF69F
monochromatic
#952BEC #B163F1 #CD9BF6 #E9D3FB #F1E3FC

Accessibility & contrast

On white

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

On black

9.62
#CD9BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BF6
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BF6#FFFFFF#000000##000000
##CD9BF61.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ADF9
Deuteranopia (green-blind)
#94B0F3
Tritanopia (blue-blind)
#C8A8BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9bf6;
/* rgb */ color: rgb(205, 155, 246);
/* oklch */ color: oklch(76.9% 0.136 308.7);
Tailwind
colors: {
  custom: {
    50: '#ddb9f9',
    500: '#cd9bf6',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bf6;
$custom-light: #ddb9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bf6",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 246
  },
  "hsl": {
    "h": 272.967,
    "s": 83.486,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76934,
    "c": 0.13632,
    "h": 308.7
  },
  "luminance": 0.43076
}

Semantic roles & 50–950 ramp

primary
#CD9BF6
secondary
#E4F4D7
accent
#E00668
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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