#C97BED#C97BED

#C97BED is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.9% C 0.177 H 314.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#C97BED
RGBrgb(201, 123, 237)
HSLhsl(281, 76%, 71%)
HSVhsv(281, 48%, 93%)
CMYKcmyk(15.2%, 48.1%, 0%, 7.1%)
CIE-LABlab(63.92, 49.38, -45.62)
CIE-LCHlch(63.92, 67.23, 317.27°)
OKLaboklab(70.94% 0.1236 -0.1269)
OKLCHoklch(70.94% 0.177 314.2)
XYZxyz(46.4539, 32.6990, 83.9688)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BED #9FED7B
analogous
#907BED #C97BED #ED7BD8
triadic
#C97BED #EDC97B #7BEDC9
tetradic
#C97BED #ED907B #9FED7B #7BD8ED
square
#C97BED #ED907B #9FED7B #7BD8ED
split-complementary
#C97BED #D8ED7B #7BED90
monochromatic
#981DD1 #B345E6 #C97BED #DFB1F4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.54
#C97BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BED
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BED#FFFFFF#000000##000000
##C97BED1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F1
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#C68CA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97bed;
/* rgb */ color: rgb(201, 123, 237);
/* oklch */ color: oklch(70.9% 0.177 314.2);
Tailwind
colors: {
  custom: {
    50: '#dba3f3',
    500: '#c97bed',
    950: '#000000',
  },
}
SCSS
$custom: #c97bed;
$custom-light: #dba3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bed",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 281.053,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70937,
    "c": 0.17712,
    "h": 314.2
  },
  "luminance": 0.32698
}

Semantic roles & 50–950 ramp

primary
#C97BED
secondary
#DCF1D2
accent
#D80D4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97BED

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

Preview Lab → · Contrast checker → · Palette generator →

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