#C97BEE#C97BEE

#C97BEE is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.0% C 0.178 H 314.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#C97BEE
RGBrgb(201, 123, 238)
HSLhsl(281, 77%, 71%)
HSVhsv(281, 48%, 93%)
CMYKcmyk(15.5%, 48.3%, 0%, 6.7%)
CIE-LABlab(63.96, 49.59, -46.10)
CIE-LCHlch(63.96, 67.71, 317.09°)
OKLaboklab(70.99% 0.1237 -0.1283)
OKLCHoklch(70.99% 0.178 314)
XYZxyz(46.6004, 32.7576, 84.7404)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BEE #A0EE7B
analogous
#8F7BEE #C97BEE #EE7BD9
triadic
#C97BEE #EEC97B #7BEEC9
tetradic
#C97BEE #EE8F7B #A0EE7B #7BD9EE
square
#C97BEE #EE8F7B #A0EE7B #7BD9EE
split-complementary
#C97BEE #D9EE7B #7BEE8F
monochromatic
#981BD3 #B345E7 #C97BEE #DFB1F5 #F4E4FC

Accessibility & contrast

On white

2.78
#C97BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#C97BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BEE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BEE#FFFFFF#000000##000000
##C97BEE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#C68DAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97bee;
/* rgb */ color: rgb(201, 123, 238);
/* oklch */ color: oklch(71.0% 0.178 314.0);
Tailwind
colors: {
  custom: {
    50: '#dba3f4',
    500: '#c97bee',
    950: '#000000',
  },
}
SCSS
$custom: #c97bee;
$custom-light: #dba3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bee",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 280.696,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70988,
    "c": 0.1782,
    "h": 314
  },
  "luminance": 0.32756
}

Semantic roles & 50–950 ramp

primary
#C97BEE
secondary
#DDF2D3
accent
#D90C4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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