#C97CF6#C97CF6

#C97CF6 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.6% C 0.185 H 311.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C97CF6
RGBrgb(201, 124, 246)
HSLhsl(278, 87%, 73%)
HSVhsv(278, 50%, 96%)
CMYKcmyk(18.3%, 49.6%, 0%, 3.5%)
CIE-LABlab(64.55, 50.75, -49.58)
CIE-LCHlch(64.55, 70.95, 315.67°)
OKLaboklab(71.55% 0.1233 -0.1384)
OKLCHoklch(71.55% 0.185 311.7)
XYZxyz(47.9267, 33.4876, 91.1099)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CF6 #A9F67C
analogous
#8C7CF6 #C97CF6 #F67CE6
triadic
#C97CF6 #F6C97C #7CF6C9
tetradic
#C97CF6 #F68C7C #A9F67C #7CE6F6
square
#C97CF6 #F68C7C #A9F67C #7CE6F6
split-complementary
#C97CF6 #E6F67C #7CF68C
monochromatic
#9810E8 #B143F2 #C97CF6 #E1B5FA #F3E2FD

Accessibility & contrast

On white

2.73
#C97CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#C97CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CF6
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CF6#FFFFFF#000000##000000
##C97CF61.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FA
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#C490AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97cf6;
/* rgb */ color: rgb(201, 124, 246);
/* oklch */ color: oklch(71.6% 0.185 311.7);
Tailwind
colors: {
  custom: {
    50: '#dca4f9',
    500: '#c97cf6',
    950: '#000000',
  },
}
SCSS
$custom: #c97cf6;
$custom-light: #dca4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cf6",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 277.869,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71552,
    "c": 0.18533,
    "h": 311.7
  },
  "luminance": 0.33487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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