#C97BF8#C97BF8

#C97BF8 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.5% C 0.189 H 311.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#C97BF8
RGBrgb(201, 123, 248)
HSLhsl(277, 90%, 73%)
HSVhsv(277, 50%, 97%)
CMYKcmyk(19%, 50.4%, 0%, 2.7%)
CIE-LABlab(64.45, 51.70, -50.84)
CIE-LCHlch(64.45, 72.51, 315.48°)
OKLaboklab(71.51% 0.1248 -0.142)
OKLCHoklch(71.51% 0.189 311.3)
XYZxyz(48.1106, 33.3617, 92.6938)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BF8 #AAF87B
analogous
#8A7BF8 #C97BF8 #F87BE8
triadic
#C97BF8 #F8C97B #7BF8C9
tetradic
#C97BF8 #F88A7B #AAF87B #7BE8F8
square
#C97BF8 #F88A7B #AAF87B #7BE8F8
split-complementary
#C97BF8 #E8F87B #7BF88A
monochromatic
#980DEC #B141F5 #C97BF8 #E1B5FB #F3E2FD

Accessibility & contrast

On white

2.74
#C97BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#C97BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BF8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BF8#FFFFFF#000000##000000
##C97BF81.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#C490AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97bf8;
/* rgb */ color: rgb(201, 123, 248);
/* oklch */ color: oklch(71.5% 0.189 311.3);
Tailwind
colors: {
  custom: {
    50: '#dca3fb',
    500: '#c97bf8',
    950: '#000000',
  },
}
SCSS
$custom: #c97bf8;
$custom-light: #dca3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bf8",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 277.44,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71509,
    "c": 0.18908,
    "h": 311.3
  },
  "luminance": 0.33361
}

Semantic roles & 50–950 ramp

primary
#C97BF8
secondary
#E2F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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