#C97CF8#C97CF8

#C97CF8 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.7% C 0.188 H 311.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#C97CF8
RGBrgb(201, 124, 248)
HSLhsl(277, 90%, 73%)
HSVhsv(277, 50%, 97%)
CMYKcmyk(19%, 50%, 0%, 2.7%)
CIE-LABlab(64.65, 51.18, -50.52)
CIE-LCHlch(64.65, 71.92, 315.37°)
OKLaboklab(71.66% 0.1235 -0.1411)
OKLCHoklch(71.66% 0.188 311.2)
XYZxyz(48.2353, 33.6111, 92.7353)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CF8 #ABF87C
analogous
#8B7CF8 #C97CF8 #F87CE9
triadic
#C97CF8 #F8C97C #7CF8C9
tetradic
#C97CF8 #F88B7C #ABF87C #7CE9F8
square
#C97CF8 #F88B7C #ABF87C #7CE9F8
split-complementary
#C97CF8 #E9F87C #7CF88B
monochromatic
#980DED #B142F5 #C97CF8 #E1B6FB #F3E2FD

Accessibility & contrast

On white

2.72
#C97CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#C97CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CF8
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CF8#FFFFFF#000000##000000
##C97CF81.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#C490AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97cf8;
/* rgb */ color: rgb(201, 124, 248);
/* oklch */ color: oklch(71.7% 0.188 311.2);
Tailwind
colors: {
  custom: {
    50: '#dca4fb',
    500: '#c97cf8',
    950: '#000000',
  },
}
SCSS
$custom: #c97cf8;
$custom-light: #dca4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cf8",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 277.258,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71657,
    "c": 0.18752,
    "h": 311.2
  },
  "luminance": 0.3361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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