#CB97DB#CB97DB

#CB97DB is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.9% C 0.111 H 318.1°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CB97DB
RGBrgb(203, 151, 219)
HSLhsl(286, 49%, 73%)
HSVhsv(286, 31%, 86%)
CMYKcmyk(7.3%, 31.1%, 0%, 14.1%)
CIE-LABlab(69.43, 31.26, -27.08)
CIE-LCHlch(69.43, 41.36, 319.10°)
OKLaboklab(74.88% 0.0823 -0.0739)
OKLCHoklch(74.88% 0.111 318.1)
XYZxyz(48.4796, 39.9453, 72.1605)
Luminance0.3994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB97DB #A7DB97
analogous
#A997DB #CB97DB #DB97C9
triadic
#CB97DB #DBCB97 #97DBCB
tetradic
#CB97DB #DBA997 #A7DB97 #97C9DB
square
#CB97DB #DBA997 #A7DB97 #97C9DB
split-complementary
#CB97DB #C9DB97 #97DBA9
monochromatic
#9C40B8 #B46ACB #CB97DB #E2C4EB #F4E8F7

Accessibility & contrast

On white

2.34
#CB97DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#CB97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB97DB
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB97DB#FFFFFF#000000##000000
##CB97DB1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DE
Deuteranopia (green-blind)
#9AABD9
Tritanopia (blue-blind)
#CB9FB0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb97db;
/* rgb */ color: rgb(203, 151, 219);
/* oklch */ color: oklch(74.9% 0.111 318.1);
Tailwind
colors: {
  custom: {
    50: '#dbb6e6',
    500: '#cb97db',
    950: '#000000',
  },
}
SCSS
$custom: #cb97db;
$custom-light: #dbb6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb97db",
  "rgb": {
    "r": 203,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 285.882,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74884,
    "c": 0.1106,
    "h": 318.1
  },
  "luminance": 0.39944
}

Semantic roles & 50–950 ramp

primary
#CB97DB
secondary
#E1EEDD
accent
#BC2A4C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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