#C97FF3#C97FF3

#C97FF3 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.8% C 0.177 H 312.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#C97FF3
RGBrgb(201, 127, 243)
HSLhsl(278, 83%, 73%)
HSVhsv(278, 48%, 95%)
CMYKcmyk(17.3%, 47.7%, 0%, 4.7%)
CIE-LABlab(65.02, 48.55, -47.20)
CIE-LCHlch(65.02, 67.71, 315.81°)
OKLaboklab(71.85% 0.1189 -0.1315)
OKLCHoklch(71.85% 0.177 312.1)
XYZxyz(47.8516, 34.0683, 88.8317)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FF3 #A9F37F
analogous
#8F7FF3 #C97FF3 #F37FE3
triadic
#C97FF3 #F3C97F #7FF3C9
tetradic
#C97FF3 #F38F7F #A9F37F #7FE3F3
square
#C97FF3 #F38F7F #A9F37F #7FE3F3
split-complementary
#C97FF3 #E3F37F #7FF38F
monochromatic
#9815E2 #B147EE #C97FF3 #E1B7F8 #F3E3FC

Accessibility & contrast

On white

2.69
#C97FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#C97FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FF3
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FF3#FFFFFF#000000##000000
##C97FF31.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#C591AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97ff3;
/* rgb */ color: rgb(201, 127, 243);
/* oklch */ color: oklch(71.8% 0.177 312.1);
Tailwind
colors: {
  custom: {
    50: '#dba6f7',
    500: '#c97ff3',
    950: '#000000',
  },
}
SCSS
$custom: #c97ff3;
$custom-light: #dba6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ff3",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 278.276,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71848,
    "c": 0.17727,
    "h": 312.1
  },
  "luminance": 0.34067
}

Semantic roles & 50–950 ramp

primary
#C97FF3
secondary
#E1F4D7
accent
#DF0655
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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