#CD9BF8#CD9BF8

#CD9BF8 is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.0% C 0.139 H 308.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#CD9BF8
RGBrgb(205, 155, 248)
HSLhsl(272, 87%, 79%)
HSVhsv(272, 38%, 97%)
CMYKcmyk(17.3%, 37.5%, 0%, 2.7%)
CIE-LABlab(71.69, 35.73, -39.44)
CIE-LCHlch(71.69, 53.22, 312.17°)
OKLaboklab(77.03% 0.0857 -0.1091)
OKLCHoklch(77.03% 0.139 308.1)
XYZxyz(53.8383, 43.1997, 94.2909)
Luminance0.4320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BF8 #C6F89B
analogous
#9F9BF8 #CD9BF8 #F89BF5
triadic
#CD9BF8 #F8CD9B #9BF8CD
tetradic
#CD9BF8 #F89F9B #C6F89B #9BF5F8
square
#CD9BF8 #F89F9B #C6F89B #9BF5F8
split-complementary
#CD9BF8 #F5F89B #9BF89F
monochromatic
#9429F0 #B062F4 #CD9BF8 #EAD4FC #F1E2FD

Accessibility & contrast

On white

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

On black

9.64
#CD9BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BF8
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BF8#FFFFFF#000000##000000
##CD9BF81.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFC
Deuteranopia (green-blind)
#93B0F5
Tritanopia (blue-blind)
#C7A9BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9bf8;
/* rgb */ color: rgb(205, 155, 248);
/* oklch */ color: oklch(77.0% 0.139 308.1);
Tailwind
colors: {
  custom: {
    50: '#ddb9fb',
    500: '#cd9bf8',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bf8;
$custom-light: #ddb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bf8",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 248
  },
  "hsl": {
    "h": 272.258,
    "s": 86.916,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77025,
    "c": 0.13874,
    "h": 308.1
  },
  "luminance": 0.43199
}

Semantic roles & 50–950 ramp

primary
#CD9BF8
secondary
#E4F5D6
accent
#E3026A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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