#C97BEC#C97BEC

#C97BEC is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.176 H 314.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#C97BEC
RGBrgb(201, 123, 236)
HSLhsl(281, 75%, 70%)
HSVhsv(281, 48%, 93%)
CMYKcmyk(14.8%, 47.9%, 0%, 7.5%)
CIE-LABlab(63.87, 49.18, -45.14)
CIE-LCHlch(63.87, 66.75, 317.45°)
OKLaboklab(70.89% 0.1235 -0.1255)
OKLCHoklch(70.89% 0.176 314.5)
XYZxyz(46.3083, 32.6408, 83.2015)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BEC #9EEC7B
analogous
#907BEC #C97BEC #EC7BD6
triadic
#C97BEC #ECC97B #7BECC9
tetradic
#C97BEC #EC907B #9EEC7B #7BD6EC
square
#C97BEC #EC907B #9EEC7B #7BD6EC
split-complementary
#C97BEC #D6EC7B #7BEC90
monochromatic
#981ECF #B346E4 #C97BEC #DFB0F4 #F4E4FB

Accessibility & contrast

On white

2.79
#C97BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#C97BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BEC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BEC#FFFFFF#000000##000000
##C97BEC1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#C78CA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97bec;
/* rgb */ color: rgb(201, 123, 236);
/* oklch */ color: oklch(70.9% 0.176 314.5);
Tailwind
colors: {
  custom: {
    50: '#dba3f2',
    500: '#c97bec',
    950: '#000000',
  },
}
SCSS
$custom: #c97bec;
$custom-light: #dba3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bec",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 281.416,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70886,
    "c": 0.17604,
    "h": 314.5
  },
  "luminance": 0.3264
}

Semantic roles & 50–950 ramp

primary
#C97BEC
secondary
#DBF1D2
accent
#D70F4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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