#C97BFE#C97BFE

#C97BFE is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.8% C 0.196 H 309.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#C97BFE
RGBrgb(201, 123, 254)
HSLhsl(276, 98%, 74%)
HSVhsv(276, 52%, 100%)
CMYKcmyk(20.9%, 51.6%, 0%, 0.4%)
CIE-LABlab(64.76, 52.99, -53.65)
CIE-LCHlch(64.76, 75.41, 314.64°)
OKLaboklab(71.83% 0.1253 -0.1502)
OKLCHoklch(71.83% 0.196 309.8)
XYZxyz(49.0564, 33.7400, 97.6749)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BFE #B0FE7B
analogous
#887BFE #C97BFE #FE7BF2
triadic
#C97BFE #FEC97B #7BFEC9
tetradic
#C97BFE #FE887B #B0FE7B #7BF2FE
square
#C97BFE #FE887B #B0FE7B #7BF2FE
split-complementary
#C97BFE #F2FE7B #7BFE88
monochromatic
#9702FD #B03EFE #C97BFE #E2B8FE #F3E1FF

Accessibility & contrast

On white

2.71
#C97BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#C97BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BFE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BFE#FFFFFF#000000##000000
##C97BFE1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#6F9EFB
Tritanopia (blue-blind)
#C291B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97bfe;
/* rgb */ color: rgb(201, 123, 254);
/* oklch */ color: oklch(71.8% 0.196 309.8);
Tailwind
colors: {
  custom: {
    50: '#dca3ff',
    500: '#c97bfe',
    950: '#000000',
  },
}
SCSS
$custom: #c97bfe;
$custom-light: #dca3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bfe",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 275.725,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71832,
    "c": 0.19565,
    "h": 309.8
  },
  "luminance": 0.33739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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