#CD9BF2#CD9BF2

#CD9BF2 is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.8% C 0.132 H 309.9°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CD9BF2
RGBrgb(205, 155, 242)
HSLhsl(274, 77%, 78%)
HSVhsv(274, 36%, 95%)
CMYKcmyk(15.3%, 36%, 0%, 5.1%)
CIE-LABlab(71.44, 34.44, -36.56)
CIE-LCHlch(71.44, 50.23, 313.29°)
OKLaboklab(76.76% 0.0844 -0.1009)
OKLCHoklch(76.76% 0.132 309.9)
XYZxyz(52.9223, 42.8333, 89.4669)
Luminance0.4283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BF2 #C0F29B
analogous
#A19BF2 #CD9BF2 #F29BEB
triadic
#CD9BF2 #F2CD9B #9BF2CD
tetradic
#CD9BF2 #F2A19B #C0F29B #9BEBF2
square
#CD9BF2 #F2A19B #C0F29B #9BEBF2
split-complementary
#CD9BF2 #EBF29B #9BF2A1
monochromatic
#972FE4 #B265EB #CD9BF2 #E8D1F9 #F1E4FB

Accessibility & contrast

On white

2.20
#CD9BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#CD9BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BF2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BF2#FFFFFF#000000##000000
##CD9BF21.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AADF5
Deuteranopia (green-blind)
#96B0EF
Tritanopia (blue-blind)
#C9A7BB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9bf2;
/* rgb */ color: rgb(205, 155, 242);
/* oklch */ color: oklch(76.8% 0.132 309.9);
Tailwind
colors: {
  custom: {
    50: '#ddb9f6',
    500: '#cd9bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bf2;
$custom-light: #ddb9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bf2",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 274.483,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76755,
    "c": 0.13151,
    "h": 309.9
  },
  "luminance": 0.42833
}

Semantic roles & 50–950 ramp

primary
#CD9BF2
secondary
#E3F3D8
accent
#D90C63
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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