#CD9BFA#CD9BFA

#CD9BFA is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.1% C 0.141 H 307.6°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CD9BFA
RGBrgb(205, 155, 250)
HSLhsl(272, 90%, 79%)
HSVhsv(272, 38%, 98%)
CMYKcmyk(18%, 38%, 0%, 2%)
CIE-LABlab(71.77, 36.16, -40.40)
CIE-LCHlch(71.77, 54.22, 311.83°)
OKLaboklab(77.12% 0.0861 -0.1119)
OKLCHoklch(77.12% 0.141 307.6)
XYZxyz(54.1502, 43.3244, 95.9337)
Luminance0.4332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BFA #C8FA9B
analogous
#9E9BFA #CD9BFA #FA9BF7
triadic
#CD9BFA #FACD9B #9BFACD
tetradic
#CD9BFA #FA9E9B #C8FA9B #9BF7FA
square
#CD9BFA #FA9E9B #C8FA9B #9BF7FA
split-complementary
#CD9BFA #F7FA9B #9BFA9E
monochromatic
#9326F4 #B061F7 #CD9BFA #EAD5FD #F0E2FE

Accessibility & contrast

On white

2.17
#CD9BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CD9BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BFA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BFA#FFFFFF#000000##000000
##CD9BFA1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#92B0F7
Tritanopia (blue-blind)
#C7A9BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9bfa;
/* rgb */ color: rgb(205, 155, 250);
/* oklch */ color: oklch(77.1% 0.141 307.6);
Tailwind
colors: {
  custom: {
    50: '#ddb9fc',
    500: '#cd9bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bfa;
$custom-light: #ddb9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bfa",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 250
  },
  "hsl": {
    "h": 271.579,
    "s": 90.476,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77117,
    "c": 0.14116,
    "h": 307.6
  },
  "luminance": 0.43324
}

Semantic roles & 50–950 ramp

primary
#CD9BFA
secondary
#E5F6D5
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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