#CD9BFB#CD9BFB

#CD9BFB is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.2% C 0.142 H 307.3°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#CD9BFB
RGBrgb(205, 155, 251)
HSLhsl(271, 92%, 80%)
HSVhsv(271, 38%, 98%)
CMYKcmyk(18.3%, 38.2%, 0%, 1.6%)
CIE-LABlab(71.82, 36.38, -40.88)
CIE-LCHlch(71.82, 54.72, 311.67°)
OKLaboklab(77.16% 0.0863 -0.1132)
OKLCHoklch(77.16% 0.142 307.3)
XYZxyz(54.3074, 43.3873, 96.7617)
Luminance0.4339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BFB #C9FB9B
analogous
#9D9BFB #CD9BFB #FB9BF9
triadic
#CD9BFB #FBCD9B #9BFBCD
tetradic
#CD9BFB #FB9D9B #C9FB9B #9BF9FB
square
#CD9BFB #FB9D9B #C9FB9B #9BF9FB
split-complementary
#CD9BFB #F9FB9B #9BFB9D
monochromatic
#9225F6 #B060F9 #CD9BFB #EAD6FD #F0E2FE

Accessibility & contrast

On white

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

On black

9.68
#CD9BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BFB
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BFB#FFFFFF#000000##000000
##CD9BFB1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#92B1F8
Tritanopia (blue-blind)
#C7AABF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9bfb;
/* rgb */ color: rgb(205, 155, 251);
/* oklch */ color: oklch(77.2% 0.142 307.3);
Tailwind
colors: {
  custom: {
    50: '#ddb9fd',
    500: '#cd9bfb',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bfb;
$custom-light: #ddb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bfb",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 271.25,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77163,
    "c": 0.14238,
    "h": 307.3
  },
  "luminance": 0.43387
}

Semantic roles & 50–950 ramp

primary
#CD9BFB
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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