#CB97CD#CB97CD

#CB97CD is a light, moderate purple. Relative luminance 0.392; OKLCH L 74.3% C 0.095 H 325.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CB97CD
RGBrgb(203, 151, 205)
HSLhsl(298, 35%, 70%)
HSVhsv(298, 26%, 80%)
CMYKcmyk(1%, 26.3%, 0%, 19.6%)
CIE-LABlab(68.92, 28.53, -20.11)
CIE-LCHlch(68.92, 34.91, 324.82°)
OKLaboklab(74.33% 0.0784 -0.0543)
OKLCHoklch(74.33% 0.095 325.3)
XYZxyz(46.7135, 39.2389, 62.8589)
Luminance0.3924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB97CD #99CD97
analogous
#B097CD #CB97CD #CD97B4
triadic
#CB97CD #CDCB97 #97CDCB
tetradic
#CB97CD #CDB097 #99CD97 #97B4CD
square
#CB97CD #CDB097 #99CD97 #97B4CD
split-complementary
#CB97CD #B4CD97 #97CDB0
monochromatic
#9B4C9E #B66EB9 #CB97CD #E0C0E1 #F4EAF5

Accessibility & contrast

On white

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

On black

8.85
#CB97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB97CD
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB97CD#FFFFFF#000000##000000
##CB97CD1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CF
Deuteranopia (green-blind)
#9FAACB
Tritanopia (blue-blind)
#CE9CAA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb97cd;
/* rgb */ color: rgb(203, 151, 205);
/* oklch */ color: oklch(74.3% 0.095 325.3);
Tailwind
colors: {
  custom: {
    50: '#dbb6dc',
    500: '#cb97cd',
    950: '#000000',
  },
}
SCSS
$custom: #cb97cd;
$custom-light: #dbb6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb97cd",
  "rgb": {
    "r": 203,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 297.778,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74331,
    "c": 0.09537,
    "h": 325.3
  },
  "luminance": 0.39238
}

Semantic roles & 50–950 ramp

primary
#CB97CD
secondary
#D9E8D8
accent
#AE383C
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CB97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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