#C97FEB#C97FEB

#C97FEB is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.168 H 314.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#C97FEB
RGBrgb(201, 127, 235)
HSLhsl(281, 73%, 71%)
HSVhsv(281, 46%, 92%)
CMYKcmyk(14.5%, 46%, 0%, 7.8%)
CIE-LABlab(64.64, 46.87, -43.38)
CIE-LCHlch(64.64, 63.86, 317.22°)
OKLaboklab(71.45% 0.1178 -0.1204)
OKLCHoklch(71.45% 0.168 314.4)
XYZxyz(46.6698, 33.5956, 82.6073)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FEB #A1EB7F
analogous
#937FEB #C97FEB #EB7FD7
triadic
#C97FEB #EBC97F #7FEBC9
tetradic
#C97FEB #EB937F #A1EB7F #7FD7EB
square
#C97FEB #EB937F #A1EB7F #7FD7EB
split-complementary
#C97FEB #D7EB7F #7FEB93
monochromatic
#9820CF #B34AE3 #C97FEB #DFB4F3 #F4E5FB

Accessibility & contrast

On white

2.72
#C97FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#C97FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FEB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FEB#FFFFFF#000000##000000
##C97FEB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#C78FAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97feb;
/* rgb */ color: rgb(201, 127, 235);
/* oklch */ color: oklch(71.4% 0.168 314.4);
Tailwind
colors: {
  custom: {
    50: '#dba6f2',
    500: '#c97feb',
    950: '#000000',
  },
}
SCSS
$custom: #c97feb;
$custom-light: #dba6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c97feb",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 281.111,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71445,
    "c": 0.16846,
    "h": 314.4
  },
  "luminance": 0.33594
}

Semantic roles & 50–950 ramp

primary
#C97FEB
secondary
#DEF1D5
accent
#D5104E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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