#C97AFA#C97AFA

#C97AFA is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.5% C 0.193 H 310.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#C97AFA
RGBrgb(201, 122, 250)
HSLhsl(277, 93%, 73%)
HSVhsv(277, 51%, 98%)
CMYKcmyk(19.6%, 51.2%, 0%, 2%)
CIE-LABlab(64.35, 52.64, -52.09)
CIE-LCHlch(64.35, 74.06, 315.30°)
OKLaboklab(71.47% 0.1263 -0.1457)
OKLCHoklch(71.47% 0.193 310.9)
XYZxyz(48.2991, 33.2396, 94.2955)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97AFA #ABFA7A
analogous
#897AFA #C97AFA #FA7AEB
triadic
#C97AFA #FAC97A #7AFAC9
tetradic
#C97AFA #FA897A #ABFA7A #7AEBFA
square
#C97AFA #FA897A #ABFA7A #7AEBFA
split-complementary
#C97AFA #EBFA7A #7AFA89
monochromatic
#9809F1 #B13FF8 #C97AFA #E1B5FC #F3E2FE

Accessibility & contrast

On white

2.75
#C97AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#C97AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97AFA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97AFA#FFFFFF#000000##000000
##C97AFA1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#C38FAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97afa;
/* rgb */ color: rgb(201, 122, 250);
/* oklch */ color: oklch(71.5% 0.193 310.9);
Tailwind
colors: {
  custom: {
    50: '#dca3fc',
    500: '#c97afa',
    950: '#000000',
  },
}
SCSS
$custom: #c97afa;
$custom-light: #dca3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c97afa",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 277.031,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71469,
    "c": 0.19281,
    "h": 310.9
  },
  "luminance": 0.33239
}

Semantic roles & 50–950 ramp

primary
#C97AFA
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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