#C97EEF#C97EEF

#C97EEF is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.5% C 0.174 H 313.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C97EEF
RGBrgb(201, 126, 239)
HSLhsl(280, 78%, 72%)
HSVhsv(280, 47%, 94%)
CMYKcmyk(15.9%, 47.3%, 0%, 6.3%)
CIE-LABlab(64.62, 48.23, -45.61)
CIE-LCHlch(64.62, 66.39, 316.60°)
OKLaboklab(71.49% 0.1198 -0.1269)
OKLCHoklch(71.49% 0.174 313.3)
XYZxyz(47.1256, 33.5723, 85.6422)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EEF #A4EF7E
analogous
#917EEF #C97EEF #EF7EDD
triadic
#C97EEF #EFC97E #7EEFC9
tetradic
#C97EEF #EF917E #A4EF7E #7EDDEF
square
#C97EEF #EF917E #A4EF7E #7EDDEF
split-complementary
#C97EEF #DDEF7E #7EEF91
monochromatic
#981BD8 #B248E8 #C97EEF #E0B4F6 #F4E4FC

Accessibility & contrast

On white

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

On black

7.71
#C97EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EEF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EEF#FFFFFF#000000##000000
##C97EEF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#C68FAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97eef;
/* rgb */ color: rgb(201, 126, 239);
/* oklch */ color: oklch(71.5% 0.174 313.3);
Tailwind
colors: {
  custom: {
    50: '#dba5f4',
    500: '#c97eef',
    950: '#000000',
  },
}
SCSS
$custom: #c97eef;
$custom-light: #dba5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c97eef",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 279.823,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71492,
    "c": 0.17447,
    "h": 313.3
  },
  "luminance": 0.33571
}

Semantic roles & 50–950 ramp

primary
#C97EEF
secondary
#E0F3D6
accent
#DA0B51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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