#CB97CF#CB97CF

#CB97CF is a light, moderate purple. Relative luminance 0.393; OKLCH L 74.4% C 0.097 H 324.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CB97CF
RGBrgb(203, 151, 207)
HSLhsl(296, 37%, 70%)
HSVhsv(296, 27%, 81%)
CMYKcmyk(1.9%, 27.1%, 0%, 18.8%)
CIE-LABlab(68.99, 28.91, -21.11)
CIE-LCHlch(68.99, 35.80, 323.86°)
OKLaboklab(74.41% 0.079 -0.0571)
OKLCHoklch(74.41% 0.097 324.1)
XYZxyz(46.9564, 39.3360, 64.1385)
Luminance0.3933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB97CF #9BCF97
analogous
#AF97CF #CB97CF #CF97B7
triadic
#CB97CF #CFCB97 #97CFCB
tetradic
#CB97CF #CFAF97 #9BCF97 #97B7CF
square
#CB97CF #CFAF97 #9BCF97 #97B7CF
split-complementary
#CB97CF #B7CF97 #97CFAF
monochromatic
#9B4AA1 #B66DBC #CB97CF #E0C1E2 #F5EAF5

Accessibility & contrast

On white

2.37
#CB97CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CB97CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB97CF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB97CF#FFFFFF#000000##000000
##CB97CF1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4D1
Deuteranopia (green-blind)
#9EABCD
Tritanopia (blue-blind)
#CE9CAB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb97cf;
/* rgb */ color: rgb(203, 151, 207);
/* oklch */ color: oklch(74.4% 0.097 324.1);
Tailwind
colors: {
  custom: {
    50: '#dbb6dd',
    500: '#cb97cf',
    950: '#000000',
  },
}
SCSS
$custom: #cb97cf;
$custom-light: #dbb6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb97cf",
  "rgb": {
    "r": 203,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 295.714,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74407,
    "c": 0.09745,
    "h": 324.1
  },
  "luminance": 0.39335
}

Semantic roles & 50–950 ramp

primary
#CB97CF
secondary
#DAE9D9
accent
#B0363E
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CB97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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