#CD9BF4#CD9BF4

#CD9BF4 is a light, vivid violet. Relative luminance 0.430; OKLCH L 76.8% C 0.134 H 309.3°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#CD9BF4
RGBrgb(205, 155, 244)
HSLhsl(274, 80%, 78%)
HSVhsv(274, 36%, 96%)
CMYKcmyk(16%, 36.5%, 0%, 4.3%)
CIE-LABlab(71.52, 34.87, -37.53)
CIE-LCHlch(71.52, 51.22, 312.90°)
OKLaboklab(76.84% 0.0848 -0.1036)
OKLCHoklch(76.84% 0.134 309.3)
XYZxyz(53.2243, 42.9541, 91.0575)
Luminance0.4295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BF4 #C2F49B
analogous
#A09BF4 #CD9BF4 #F49BEE
triadic
#CD9BF4 #F4CD9B #9BF4CD
tetradic
#CD9BF4 #F4A09B #C2F49B #9BEEF4
square
#CD9BF4 #F4A09B #C2F49B #9BEEF4
split-complementary
#CD9BF4 #EEF49B #9BF4A0
monochromatic
#962DE8 #B164EE #CD9BF4 #E9D2FA #F1E3FC

Accessibility & contrast

On white

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

On black

9.59
#CD9BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BF4
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BF4#FFFFFF#000000##000000
##CD9BF41.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AADF7
Deuteranopia (green-blind)
#95B0F1
Tritanopia (blue-blind)
#C8A8BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9bf4;
/* rgb */ color: rgb(205, 155, 244);
/* oklch */ color: oklch(76.8% 0.134 309.3);
Tailwind
colors: {
  custom: {
    50: '#ddb9f8',
    500: '#cd9bf4',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bf4;
$custom-light: #ddb9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bf4",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 244
  },
  "hsl": {
    "h": 273.708,
    "s": 80.18,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76844,
    "c": 0.13392,
    "h": 309.3
  },
  "luminance": 0.42953
}

Semantic roles & 50–950 ramp

primary
#CD9BF4
secondary
#E4F4D7
accent
#DD0966
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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