#CB97DD#CB97DD

#CB97DD is a light, moderate purple. Relative luminance 0.401; OKLCH L 75.0% C 0.113 H 317.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CB97DD
RGBrgb(203, 151, 221)
HSLhsl(285, 51%, 73%)
HSVhsv(285, 32%, 87%)
CMYKcmyk(8.1%, 31.7%, 0%, 13.3%)
CIE-LABlab(69.51, 31.66, -28.06)
CIE-LCHlch(69.51, 42.31, 318.45°)
OKLaboklab(74.97% 0.0828 -0.0767)
OKLCHoklch(74.97% 0.113 317.2)
XYZxyz(48.7445, 40.0513, 73.5555)
Luminance0.4005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB97DD #A9DD97
analogous
#A897DD #CB97DD #DD97CC
triadic
#CB97DD #DDCB97 #97DDCB
tetradic
#CB97DD #DDA897 #A9DD97 #97CCDD
square
#CB97DD #DDA897 #A9DD97 #97CCDD
split-complementary
#CB97DD #CCDD97 #97DDA8
monochromatic
#9C3DBC #B469CE #CB97DD #E2C5EC #F3E8F7

Accessibility & contrast

On white

2.33
#CB97DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#CB97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB97DD
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB97DD#FFFFFF#000000##000000
##CB97DD1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb97dd;
/* rgb */ color: rgb(203, 151, 221);
/* oklch */ color: oklch(75.0% 0.113 317.2);
Tailwind
colors: {
  custom: {
    50: '#dbb6e7',
    500: '#cb97dd',
    950: '#000000',
  },
}
SCSS
$custom: #cb97dd;
$custom-light: #dbb6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb97dd",
  "rgb": {
    "r": 203,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 284.571,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74967,
    "c": 0.11287,
    "h": 317.2
  },
  "luminance": 0.4005
}

Semantic roles & 50–950 ramp

primary
#CB97DD
secondary
#E1EFDC
accent
#BE274E
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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