#C97BDB#C97BDB

#C97BDB is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.1% C 0.158 H 319.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#C97BDB
RGBrgb(201, 123, 219)
HSLhsl(289, 57%, 67%)
HSVhsv(289, 44%, 86%)
CMYKcmyk(8.2%, 43.8%, 0%, 14.1%)
CIE-LABlab(63.09, 45.74, -36.91)
CIE-LCHlch(63.09, 58.77, 321.10°)
OKLaboklab(70.06% 0.1209 -0.1017)
OKLCHoklch(70.06% 0.158 319.9)
XYZxyz(43.9549, 31.6994, 70.8073)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BDB #8DDB7B
analogous
#997BDB #C97BDB #DB7BBD
triadic
#C97BDB #DBC97B #7BDBC9
tetradic
#C97BDB #DB997B #8DDB7B #7BBDDB
square
#C97BDB #DB997B #8DDB7B #7BBDDB
split-complementary
#C97BDB #BDDB7B #7BDB99
monochromatic
#952FAD #B54BCE #C97BDB #DDABE8 #F0DBF5

Accessibility & contrast

On white

2.86
#C97BDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#C97BDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BDB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BDB#FFFFFF#000000##000000
##C97BDB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DE
Deuteranopia (green-blind)
#829CD8
Tritanopia (blue-blind)
#CA87A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c97bdb;
/* rgb */ color: rgb(201, 123, 219);
/* oklch */ color: oklch(70.1% 0.158 319.9);
Tailwind
colors: {
  custom: {
    50: '#dba3e6',
    500: '#c97bdb',
    950: '#000000',
  },
}
SCSS
$custom: #c97bdb;
$custom-light: #dba3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bdb",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 288.75,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70055,
    "c": 0.15798,
    "h": 319.9
  },
  "luminance": 0.31698
}

Semantic roles & 50–950 ramp

primary
#C97BDB
secondary
#CFE8CA
accent
#C52140
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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