#CD9BF3#CD9BF3

#CD9BF3 is a light, vivid violet. Relative luminance 0.429; OKLCH L 76.8% C 0.133 H 309.6°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#CD9BF3
RGBrgb(205, 155, 243)
HSLhsl(274, 79%, 78%)
HSVhsv(274, 36%, 95%)
CMYKcmyk(15.6%, 36.2%, 0%, 4.7%)
CIE-LABlab(71.48, 34.65, -37.05)
CIE-LCHlch(71.48, 50.73, 313.09°)
OKLaboklab(76.8% 0.0846 -0.1022)
OKLCHoklch(76.8% 0.133 309.6)
XYZxyz(53.0729, 42.8935, 90.2600)
Luminance0.4289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BF3 #C1F39B
analogous
#A19BF3 #CD9BF3 #F39BED
triadic
#CD9BF3 #F3CD9B #9BF3CD
tetradic
#CD9BF3 #F3A19B #C1F39B #9BEDF3
square
#CD9BF3 #F3A19B #C1F39B #9BEDF3
split-complementary
#CD9BF3 #EDF39B #9BF3A1
monochromatic
#962EE6 #B264EC #CD9BF3 #E8D2FA #F1E4FC

Accessibility & contrast

On white

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

On black

9.58
#CD9BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BF3
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BF3#FFFFFF#000000##000000
##CD9BF31.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AADF6
Deuteranopia (green-blind)
#95B0F0
Tritanopia (blue-blind)
#C9A8BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9bf3;
/* rgb */ color: rgb(205, 155, 243);
/* oklch */ color: oklch(76.8% 0.133 309.6);
Tailwind
colors: {
  custom: {
    50: '#ddb9f7',
    500: '#cd9bf3',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bf3;
$custom-light: #ddb9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bf3",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 243
  },
  "hsl": {
    "h": 274.091,
    "s": 78.571,
    "l": 78.039
  },
  "oklch": {
    "l": 0.768,
    "c": 0.13271,
    "h": 309.6
  },
  "luminance": 0.42893
}

Semantic roles & 50–950 ramp

primary
#CD9BF3
secondary
#E4F4D7
accent
#DB0B65
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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