#CB97D2#CB97D2

#CB97D2 is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.5% C 0.101 H 322.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CB97D2
RGBrgb(203, 151, 210)
HSLhsl(293, 40%, 71%)
HSVhsv(293, 28%, 82%)
CMYKcmyk(3.3%, 28.1%, 0%, 17.6%)
CIE-LABlab(69.10, 29.49, -22.61)
CIE-LCHlch(69.10, 37.16, 322.52°)
OKLaboklab(74.52% 0.0798 -0.0613)
OKLCHoklch(74.52% 0.101 322.5)
XYZxyz(47.3267, 39.4841, 66.0884)
Luminance0.3948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB97D2 #9ED297
analogous
#AD97D2 #CB97D2 #D297BB
triadic
#CB97D2 #D2CB97 #97D2CB
tetradic
#CB97D2 #D2AD97 #9ED297 #97BBD2
square
#CB97D2 #D2AD97 #9ED297 #97BBD2
split-complementary
#CB97D2 #BBD297 #97D2AD
monochromatic
#9B48A7 #B66CC0 #CB97D2 #E0C2E4 #F4EAF6

Accessibility & contrast

On white

2.36
#CB97D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#CB97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB97D2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB97D2#FFFFFF#000000##000000
##CB97D21.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A5D4
Deuteranopia (green-blind)
#9DABD0
Tritanopia (blue-blind)
#CD9DAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb97d2;
/* rgb */ color: rgb(203, 151, 210);
/* oklch */ color: oklch(74.5% 0.101 322.5);
Tailwind
colors: {
  custom: {
    50: '#dbb6e0',
    500: '#cb97d2',
    950: '#000000',
  },
}
SCSS
$custom: #cb97d2;
$custom-light: #dbb6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb97d2",
  "rgb": {
    "r": 203,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 292.881,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74524,
    "c": 0.10065,
    "h": 322.5
  },
  "luminance": 0.39483
}

Semantic roles & 50–950 ramp

primary
#CB97D2
secondary
#DCEADA
accent
#B33342
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CB97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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