#C97FF1#C97FF1

#C97FF1 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.7% C 0.175 H 312.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#C97FF1
RGBrgb(201, 127, 241)
HSLhsl(279, 80%, 72%)
HSVhsv(279, 47%, 95%)
CMYKcmyk(16.6%, 47.3%, 0%, 5.5%)
CIE-LABlab(64.92, 48.13, -46.25)
CIE-LCHlch(64.92, 66.75, 316.14°)
OKLaboklab(71.75% 0.1187 -0.1287)
OKLCHoklch(71.75% 0.175 312.7)
XYZxyz(47.5512, 33.9482, 87.2497)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FF1 #A7F17F
analogous
#907FF1 #C97FF1 #F17FE0
triadic
#C97FF1 #F1C97F #7FF1C9
tetradic
#C97FF1 #F1907F #A7F17F #7FE0F1
square
#C97FF1 #F1907F #A7F17F #7FE0F1
split-complementary
#C97FF1 #E0F17F #7FF190
monochromatic
#9818DD #B248EB #C97FF1 #E0B6F7 #F3E3FC

Accessibility & contrast

On white

2.70
#C97FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#C97FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FF1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FF1#FFFFFF#000000##000000
##C97FF11.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF5
Deuteranopia (green-blind)
#7B9FEE
Tritanopia (blue-blind)
#C591AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97ff1;
/* rgb */ color: rgb(201, 127, 241);
/* oklch */ color: oklch(71.7% 0.175 312.7);
Tailwind
colors: {
  custom: {
    50: '#dba6f6',
    500: '#c97ff1',
    950: '#000000',
  },
}
SCSS
$custom: #c97ff1;
$custom-light: #dba6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ff1",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 278.947,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71746,
    "c": 0.17506,
    "h": 312.7
  },
  "luminance": 0.33947
}

Semantic roles & 50–950 ramp

primary
#C97FF1
secondary
#E1F4D7
accent
#DD0953
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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