#C97FF5#C97FF5

#C97FF5 is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.0% C 0.179 H 311.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#C97FF5
RGBrgb(201, 127, 245)
HSLhsl(278, 86%, 73%)
HSVhsv(278, 48%, 96%)
CMYKcmyk(18%, 48.2%, 0%, 3.9%)
CIE-LABlab(65.11, 48.98, -48.15)
CIE-LCHlch(65.11, 68.68, 315.49°)
OKLaboklab(71.95% 0.1192 -0.1342)
OKLCHoklch(71.95% 0.179 311.6)
XYZxyz(48.1553, 34.1898, 90.4310)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FF5 #ABF57F
analogous
#8E7FF5 #C97FF5 #F57FE6
triadic
#C97FF5 #F5C97F #7FF5C9
tetradic
#C97FF5 #F58E7F #ABF57F #7FE6F5
square
#C97FF5 #F58E7F #ABF57F #7FE6F5
split-complementary
#C97FF5 #E6F57F #7FF58E
monochromatic
#9812E8 #B146F1 #C97FF5 #E1B8F9 #F3E3FD

Accessibility & contrast

On white

2.68
#C97FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#C97FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FF5
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FF5#FFFFFF#000000##000000
##C97FF51.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#78A0F2
Tritanopia (blue-blind)
#C492AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97ff5;
/* rgb */ color: rgb(201, 127, 245);
/* oklch */ color: oklch(72.0% 0.179 311.6);
Tailwind
colors: {
  custom: {
    50: '#dca6f9',
    500: '#c97ff5',
    950: '#000000',
  },
}
SCSS
$custom: #c97ff5;
$custom-light: #dca6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ff5",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 277.627,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71951,
    "c": 0.17949,
    "h": 311.6
  },
  "luminance": 0.34189
}

Semantic roles & 50–950 ramp

primary
#C97FF5
secondary
#E2F5D6
accent
#E20356
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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