#C97BEF#C97BEF

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

Color values

HEX#C97BEF
RGBrgb(201, 123, 239)
HSLhsl(280, 78%, 71%)
HSVhsv(280, 49%, 94%)
CMYKcmyk(15.9%, 48.5%, 0%, 6.3%)
CIE-LABlab(64.01, 49.80, -46.57)
CIE-LCHlch(64.01, 68.19, 316.92°)
OKLaboklab(71.04% 0.1238 -0.1296)
OKLCHoklch(71.04% 0.179 313.7)
XYZxyz(46.7478, 32.8166, 85.5163)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BEF #A1EF7B
analogous
#8F7BEF #C97BEF #EF7BDB
triadic
#C97BEF #EFC97B #7BEFC9
tetradic
#C97BEF #EF8F7B #A1EF7B #7BDBEF
square
#C97BEF #EF8F7B #A1EF7B #7BDBEF
split-complementary
#C97BEF #DBEF7B #7BEF8F
monochromatic
#981AD6 #B344E8 #C97BEF #DFB2F6 #F4E4FC

Accessibility & contrast

On white

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

On black

7.56
#C97BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BEF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BEF#FFFFFF#000000##000000
##C97BEF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#C68DAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97bef;
/* rgb */ color: rgb(201, 123, 239);
/* oklch */ color: oklch(71.0% 0.179 313.7);
Tailwind
colors: {
  custom: {
    50: '#dba3f5',
    500: '#c97bef',
    950: '#000000',
  },
}
SCSS
$custom: #c97bef;
$custom-light: #dba3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bef",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 280.345,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71039,
    "c": 0.17928,
    "h": 313.7
  },
  "luminance": 0.32815
}

Semantic roles & 50–950 ramp

primary
#C97BEF
secondary
#DEF2D3
accent
#DB0B4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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