#C97AF6#C97AF6

#C97AF6 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.3% C 0.188 H 311.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#C97AF6
RGBrgb(201, 122, 246)
HSLhsl(278, 87%, 72%)
HSVhsv(278, 50%, 96%)
CMYKcmyk(18.3%, 50.4%, 0%, 3.5%)
CIE-LABlab(64.15, 51.79, -50.21)
CIE-LCHlch(64.15, 72.14, 315.89°)
OKLaboklab(71.26% 0.1259 -0.1402)
OKLCHoklch(71.26% 0.188 311.9)
XYZxyz(47.6785, 32.9914, 91.0272)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97AF6 #A7F67A
analogous
#8B7AF6 #C97AF6 #F67AE5
triadic
#C97AF6 #F6C97A #7AF6C9
tetradic
#C97AF6 #F68B7A #A7F67A #7AE5F6
square
#C97AF6 #F68B7A #A7F67A #7AE5F6
split-complementary
#C97AF6 #E5F67A #7AF68B
monochromatic
#9810E6 #B241F2 #C97AF6 #E0B3FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.60
#C97AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97AF6
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97AF6#FFFFFF#000000##000000
##C97AF61.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97FA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#C48EAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97af6;
/* rgb */ color: rgb(201, 122, 246);
/* oklch */ color: oklch(71.3% 0.188 311.9);
Tailwind
colors: {
  custom: {
    50: '#dca3f9',
    500: '#c97af6',
    950: '#000000',
  },
}
SCSS
$custom: #c97af6;
$custom-light: #dca3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c97af6",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 278.226,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71256,
    "c": 0.18846,
    "h": 311.9
  },
  "luminance": 0.3299
}

Semantic roles & 50–950 ramp

primary
#C97AF6
secondary
#E1F5D6
accent
#E40254
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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