#C97EF6#C97EF6

#C97EF6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.9% C 0.182 H 311.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#C97EF6
RGBrgb(201, 126, 246)
HSLhsl(278, 87%, 73%)
HSVhsv(278, 49%, 96%)
CMYKcmyk(18.3%, 48.8%, 0%, 3.5%)
CIE-LABlab(64.96, 49.71, -48.94)
CIE-LCHlch(64.96, 69.76, 315.45°)
OKLaboklab(71.85% 0.1206 -0.1365)
OKLCHoklch(71.85% 0.182 311.5)
XYZxyz(48.1798, 33.9940, 91.1943)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EF6 #ABF67E
analogous
#8D7EF6 #C97EF6 #F67EE7
triadic
#C97EF6 #F6C97E #7EF6C9
tetradic
#C97EF6 #F68D7E #ABF67E #7EE7F6
square
#C97EF6 #F68D7E #ABF67E #7EE7F6
split-complementary
#C97EF6 #E7F67E #7EF68D
monochromatic
#9810E9 #B145F2 #C97EF6 #E1B7FA #F3E2FD

Accessibility & contrast

On white

2.69
#C97EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#C97EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EF6
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EF6#FFFFFF#000000##000000
##C97EF61.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#C491AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97ef6;
/* rgb */ color: rgb(201, 126, 246);
/* oklch */ color: oklch(71.9% 0.182 311.5);
Tailwind
colors: {
  custom: {
    50: '#dca5f9',
    500: '#c97ef6',
    950: '#000000',
  },
}
SCSS
$custom: #c97ef6;
$custom-light: #dca5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ef6",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 277.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71852,
    "c": 0.18217,
    "h": 311.5
  },
  "luminance": 0.33993
}

Semantic roles & 50–950 ramp

primary
#C97EF6
secondary
#E2F5D6
accent
#E40257
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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