#CD9BF5#CD9BF5

#CD9BF5 is a light, vivid violet. Relative luminance 0.430; OKLCH L 76.9% C 0.135 H 309.0°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#CD9BF5
RGBrgb(205, 155, 245)
HSLhsl(273, 82%, 78%)
HSVhsv(273, 37%, 96%)
CMYKcmyk(16.3%, 36.7%, 0%, 3.9%)
CIE-LABlab(71.57, 35.08, -38.01)
CIE-LCHlch(71.57, 51.72, 312.71°)
OKLaboklab(76.89% 0.085 -0.105)
OKLCHoklch(76.89% 0.135 309)
XYZxyz(53.3766, 43.0150, 91.8593)
Luminance0.4301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BF5 #C3F59B
analogous
#A09BF5 #CD9BF5 #F59BF0
triadic
#CD9BF5 #F5CD9B #9BF5CD
tetradic
#CD9BF5 #F5A09B #C3F59B #9BF0F5
square
#CD9BF5 #F5A09B #C3F59B #9BF0F5
split-complementary
#CD9BF5 #F0F59B #9BF5A0
monochromatic
#952CEA #B163EF #CD9BF5 #E9D3FB #F1E3FC

Accessibility & contrast

On white

2.19
#CD9BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#CD9BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BF5
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BF5#FFFFFF#000000##000000
##CD9BF51.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd9bf5;
/* rgb */ color: rgb(205, 155, 245);
/* oklch */ color: oklch(76.9% 0.135 309.0);
Tailwind
colors: {
  custom: {
    50: '#ddb9f8',
    500: '#cd9bf5',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bf5;
$custom-light: #ddb9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bf5",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 245
  },
  "hsl": {
    "h": 273.333,
    "s": 81.818,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76889,
    "c": 0.13513,
    "h": 309
  },
  "luminance": 0.43014
}

Semantic roles & 50–950 ramp

primary
#CD9BF5
secondary
#E4F4D7
accent
#DE0767
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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