#C97DEB#C97DEB

#C97DEB is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.1% C 0.172 H 314.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#C97DEB
RGBrgb(201, 125, 235)
HSLhsl(281, 73%, 71%)
HSVhsv(281, 47%, 92%)
CMYKcmyk(14.5%, 46.8%, 0%, 7.8%)
CIE-LABlab(64.23, 47.92, -44.02)
CIE-LCHlch(64.23, 65.07, 317.43°)
OKLaboklab(71.14% 0.1206 -0.1223)
OKLCHoklch(71.14% 0.172 314.6)
XYZxyz(46.4140, 33.0841, 82.5220)
Luminance0.3308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DEB #9FEB7D
analogous
#927DEB #C97DEB #EB7DD6
triadic
#C97DEB #EBC97D #7DEBC9
tetradic
#C97DEB #EB927D #9FEB7D #7DD6EB
square
#C97DEB #EB927D #9FEB7D #7DD6EB
split-complementary
#C97DEB #D6EB7D #7DEB92
monochromatic
#9820CE #B348E3 #C97DEB #DFB2F3 #F4E4FB

Accessibility & contrast

On white

2.76
#C97DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#C97DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DEB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DEB#FFFFFF#000000##000000
##C97DEB1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#C78DA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97deb;
/* rgb */ color: rgb(201, 125, 235);
/* oklch */ color: oklch(71.1% 0.172 314.6);
Tailwind
colors: {
  custom: {
    50: '#dba4f2',
    500: '#c97deb',
    950: '#000000',
  },
}
SCSS
$custom: #c97deb;
$custom-light: #dba4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c97deb",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 281.455,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71138,
    "c": 0.17172,
    "h": 314.6
  },
  "luminance": 0.33083
}

Semantic roles & 50–950 ramp

primary
#C97DEB
secondary
#DCF1D3
accent
#D5104D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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