#C97AF2#C97AF2

#C97AF2 is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.0% C 0.184 H 313.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#C97AF2
RGBrgb(201, 122, 242)
HSLhsl(280, 82%, 71%)
HSVhsv(280, 50%, 95%)
CMYKcmyk(16.9%, 49.6%, 0%, 5.1%)
CIE-LABlab(63.96, 50.95, -48.32)
CIE-LCHlch(63.96, 70.22, 316.52°)
OKLaboklab(71.05% 0.1255 -0.1347)
OKLCHoklch(71.05% 0.184 313)
XYZxyz(47.0712, 32.7485, 87.8286)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97AF2 #A3F27A
analogous
#8D7AF2 #C97AF2 #F27ADF
triadic
#C97AF2 #F2C97A #7AF2C9
tetradic
#C97AF2 #F28D7A #A3F27A #7ADFF2
square
#C97AF2 #F28D7A #A3F27A #7ADFF2
split-complementary
#C97AF2 #DFF27A #7AF28D
monochromatic
#9816DC #B242ED #C97AF2 #E0B2F7 #F4E3FC

Accessibility & contrast

On white

2.78
#C97AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#C97AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97AF2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97AF2#FFFFFF#000000##000000
##C97AF21.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#C58DAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97af2;
/* rgb */ color: rgb(201, 122, 242);
/* oklch */ color: oklch(71.0% 0.184 313.0);
Tailwind
colors: {
  custom: {
    50: '#dca3f7',
    500: '#c97af2',
    950: '#000000',
  },
}
SCSS
$custom: #c97af2;
$custom-light: #dca3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c97af2",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 279.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71045,
    "c": 0.18412,
    "h": 313
  },
  "luminance": 0.32747
}

Semantic roles & 50–950 ramp

primary
#C97AF2
secondary
#DFF3D4
accent
#DF0751
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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