#C97BDC#C97BDC

#C97BDC is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.1% C 0.159 H 319.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#C97BDC
RGBrgb(201, 123, 220)
HSLhsl(288, 58%, 67%)
HSVhsv(288, 44%, 86%)
CMYKcmyk(8.6%, 44.1%, 0%, 13.7%)
CIE-LABlab(63.14, 45.93, -37.40)
CIE-LCHlch(63.14, 59.23, 320.85°)
OKLaboklab(70.1% 0.121 -0.1031)
OKLCHoklch(70.1% 0.159 319.6)
XYZxyz(44.0870, 31.7523, 71.5027)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BDC #8EDC7B
analogous
#987BDC #C97BDC #DC7BBF
triadic
#C97BDC #DCC97B #7BDCC9
tetradic
#C97BDC #DC987B #8EDC7B #7BBFDC
square
#C97BDC #DC987B #8EDC7B #7BBFDC
split-complementary
#C97BDC #BFDC7B #7BDC98
monochromatic
#952EAE #B54BCF #C97BDC #DDABE9 #F1DCF6

Accessibility & contrast

On white

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

On black

7.35
#C97BDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BDC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BDC#FFFFFF#000000##000000
##C97BDC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c97bdc;
/* rgb */ color: rgb(201, 123, 220);
/* oklch */ color: oklch(70.1% 0.159 319.6);
Tailwind
colors: {
  custom: {
    50: '#dba3e7',
    500: '#c97bdc',
    950: '#000000',
  },
}
SCSS
$custom: #c97bdc;
$custom-light: #dba3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bdc",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 288.247,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70102,
    "c": 0.15902,
    "h": 319.6
  },
  "luminance": 0.31751
}

Semantic roles & 50–950 ramp

primary
#C97BDC
secondary
#D0E9CA
accent
#C62040
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C97BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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