#CD9BFE#CD9BFE

#CD9BFE is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.3% C 0.146 H 306.5°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CD9BFE
RGBrgb(205, 155, 254)
HSLhsl(270, 98%, 80%)
HSVhsv(270, 39%, 100%)
CMYKcmyk(19.3%, 39%, 0%, 0.4%)
CIE-LABlab(71.95, 37.03, -42.30)
CIE-LCHlch(71.95, 56.22, 311.20°)
OKLaboklab(77.3% 0.0869 -0.1174)
OKLCHoklch(77.3% 0.146 306.5)
XYZxyz(54.7840, 43.5780, 99.2720)
Luminance0.4358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BFE #CCFE9B
analogous
#9B9BFE #CD9BFE #FE9BFE
triadic
#CD9BFE #FECD9B #9BFECD
tetradic
#CD9BFE #FE9B9B #CCFE9B #9BFEFE
square
#CD9BFE #FE9B9B #CCFE9B #9BFEFE
split-complementary
#CD9BFE #FEFE9B #9BFE9B
monochromatic
#9022FD #AF5EFD #CD9BFE #EBD8FF #F0E1FF

Accessibility & contrast

On white

2.16
#CD9BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#CD9BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BFE
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BFE#FFFFFF#000000##000000
##CD9BFE1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#90B1FB
Tritanopia (blue-blind)
#C6AAC1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9bfe;
/* rgb */ color: rgb(205, 155, 254);
/* oklch */ color: oklch(77.3% 0.146 306.5);
Tailwind
colors: {
  custom: {
    50: '#deb9ff',
    500: '#cd9bfe',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bfe;
$custom-light: #deb9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bfe",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 254
  },
  "hsl": {
    "h": 270.303,
    "s": 98.02,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77302,
    "c": 0.14602,
    "h": 306.5
  },
  "luminance": 0.43578
}

Semantic roles & 50–950 ramp

primary
#CD9BFE
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD9BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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