#CB9FDF#CB9FDF

#CB9FDF is a light, moderate purple. Relative luminance 0.428; OKLCH L 76.5% C 0.101 H 315.0°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CB9FDF
RGBrgb(203, 159, 223)
HSLhsl(281, 50%, 75%)
HSVhsv(281, 29%, 87%)
CMYKcmyk(9%, 28.7%, 0%, 12.5%)
CIE-LABlab(71.43, 27.68, -26.20)
CIE-LCHlch(71.43, 38.12, 316.57°)
OKLaboklab(76.46% 0.0716 -0.0715)
OKLCHoklch(76.46% 0.101 315)
XYZxyz(50.3439, 42.8213, 75.4110)
Luminance0.4282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9FDF #B3DF9F
analogous
#AB9FDF #CB9FDF #DF9FD3
triadic
#CB9FDF #DFCB9F #9FDFCB
tetradic
#CB9FDF #DFAB9F #B3DF9F #9FD3DF
square
#CB9FDF #DFAB9F #B3DF9F #9FD3DF
split-complementary
#CB9FDF #D3DF9F #9FDFAB
monochromatic
#9943C0 #B271D0 #CB9FDF #E4CDEE #F3E8F7

Accessibility & contrast

On white

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

On black

9.56
#CB9FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9FDF
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9FDF#FFFFFF#000000##000000
##CB9FDF1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE2
Deuteranopia (green-blind)
#A0B0DD
Tritanopia (blue-blind)
#CAA7B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cb9fdf;
/* rgb */ color: rgb(203, 159, 223);
/* oklch */ color: oklch(76.5% 0.101 315.0);
Tailwind
colors: {
  custom: {
    50: '#dbbbe9',
    500: '#cb9fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cb9fdf;
$custom-light: #dbbbe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9fdf",
  "rgb": {
    "r": 203,
    "g": 159,
    "b": 223
  },
  "hsl": {
    "h": 281.25,
    "s": 50,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76461,
    "c": 0.10114,
    "h": 315
  },
  "luminance": 0.4282
}

Semantic roles & 50–950 ramp

primary
#CB9FDF
secondary
#E2EEDD
accent
#BD2857
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CB9FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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