#C97FEF#C97FEF

#C97FEF is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.6% C 0.173 H 313.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#C97FEF
RGBrgb(201, 127, 239)
HSLhsl(280, 78%, 72%)
HSVhsv(280, 47%, 94%)
CMYKcmyk(15.9%, 46.9%, 0%, 6.3%)
CIE-LABlab(64.83, 47.71, -45.29)
CIE-LCHlch(64.83, 65.78, 316.49°)
OKLaboklab(71.65% 0.1184 -0.1259)
OKLCHoklch(71.65% 0.173 313.2)
XYZxyz(47.2541, 33.8293, 85.6851)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FEF #A5EF7F
analogous
#917FEF #C97FEF #EF7FDD
triadic
#C97FEF #EFC97F #7FEFC9
tetradic
#C97FEF #EF917F #A5EF7F #7FDDEF
square
#C97FEF #EF917F #A5EF7F #7FDDEF
split-complementary
#C97FEF #DDEF7F #7FEF91
monochromatic
#981BD9 #B249E8 #C97FEF #E0B5F6 #F4E4FC

Accessibility & contrast

On white

2.70
#C97FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#C97FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FEF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FEF#FFFFFF#000000##000000
##C97FEF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#C690AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97fef;
/* rgb */ color: rgb(201, 127, 239);
/* oklch */ color: oklch(71.6% 0.173 313.2);
Tailwind
colors: {
  custom: {
    50: '#dba6f4',
    500: '#c97fef',
    950: '#000000',
  },
}
SCSS
$custom: #c97fef;
$custom-light: #dba6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c97fef",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 279.643,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71645,
    "c": 0.17286,
    "h": 313.2
  },
  "luminance": 0.33828
}

Semantic roles & 50–950 ramp

primary
#C97FEF
secondary
#E0F3D7
accent
#DA0B52
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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