#C97BFC#C97BFC

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

Color values

HEX#C97BFC
RGBrgb(201, 123, 252)
HSLhsl(276, 96%, 74%)
HSVhsv(276, 51%, 99%)
CMYKcmyk(20.2%, 51.2%, 0%, 1.2%)
CIE-LABlab(64.65, 52.56, -52.72)
CIE-LCHlch(64.65, 74.44, 314.91°)
OKLaboklab(71.72% 0.1252 -0.1475)
OKLCHoklch(71.72% 0.193 310.3)
XYZxyz(48.7378, 33.6126, 95.9970)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BFC #AEFC7B
analogous
#887BFC #C97BFC #FC7BEF
triadic
#C97BFC #FCC97B #7BFCC9
tetradic
#C97BFC #FC887B #AEFC7B #7BEFFC
square
#C97BFC #FC887B #AEFC7B #7BEFFC
split-complementary
#C97BFC #EFFC7B #7BFC88
monochromatic
#9806F7 #B13FFB #C97BFC #E1B7FD #F3E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C97BFC#FFFFFF#000000##000000
##C97BFC1.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)
#5899FF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#C391B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97bfc;
/* rgb */ color: rgb(201, 123, 252);
/* oklch */ color: oklch(71.7% 0.193 310.3);
Tailwind
colors: {
  custom: {
    50: '#dca3fe',
    500: '#c97bfc',
    950: '#000000',
  },
}
SCSS
$custom: #c97bfc;
$custom-light: #dca3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bfc",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 276.279,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71723,
    "c": 0.19346,
    "h": 310.3
  },
  "luminance": 0.33612
}

Semantic roles & 50–950 ramp

primary
#C97BFC
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C97BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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