#C97FF4#C97FF4

#C97FF4 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.9% C 0.178 H 311.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#C97FF4
RGBrgb(201, 127, 244)
HSLhsl(278, 84%, 73%)
HSVhsv(278, 48%, 96%)
CMYKcmyk(17.6%, 48%, 0%, 4.3%)
CIE-LABlab(65.06, 48.76, -47.67)
CIE-LCHlch(65.06, 68.19, 315.65°)
OKLaboklab(71.9% 0.119 -0.1328)
OKLCHoklch(71.9% 0.178 311.9)
XYZxyz(48.0030, 34.1289, 89.6292)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FF4 #AAF47F
analogous
#8E7FF4 #C97FF4 #F47FE4
triadic
#C97FF4 #F4C97F #7FF4C9
tetradic
#C97FF4 #F48E7F #AAF47F #7FE4F4
square
#C97FF4 #F48E7F #AAF47F #7FE4F4
split-complementary
#C97FF4 #E4F47F #7FF48E
monochromatic
#9814E5 #B147EF #C97FF4 #E1B7F9 #F3E3FD

Accessibility & contrast

On white

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

On black

7.83
#C97FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FF4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FF4#FFFFFF#000000##000000
##C97FF41.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF8
Deuteranopia (green-blind)
#79A0F1
Tritanopia (blue-blind)
#C591AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97ff4;
/* rgb */ color: rgb(201, 127, 244);
/* oklch */ color: oklch(71.9% 0.178 311.9);
Tailwind
colors: {
  custom: {
    50: '#dba6f8',
    500: '#c97ff4',
    950: '#000000',
  },
}
SCSS
$custom: #c97ff4;
$custom-light: #dba6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ff4",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 277.949,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71899,
    "c": 0.17838,
    "h": 311.9
  },
  "luminance": 0.34128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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