#C97BF7#C97BF7

#C97BF7 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.5% C 0.188 H 311.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C97BF7
RGBrgb(201, 123, 247)
HSLhsl(278, 89%, 73%)
HSVhsv(278, 50%, 97%)
CMYKcmyk(18.6%, 50.2%, 0%, 3.1%)
CIE-LABlab(64.40, 51.49, -50.37)
CIE-LCHlch(64.40, 72.03, 315.63°)
OKLaboklab(71.46% 0.1247 -0.1407)
OKLCHoklch(71.46% 0.188 311.6)
XYZxyz(47.9559, 33.2998, 91.8789)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BF7 #A9F77B
analogous
#8B7BF7 #C97BF7 #F77BE7
triadic
#C97BF7 #F7C97B #7BF7C9
tetradic
#C97BF7 #F78B7B #A9F77B #7BE7F7
square
#C97BF7 #F78B7B #A9F77B #7BE7F7
split-complementary
#C97BF7 #E7F77B #7BF78B
monochromatic
#980EE9 #B141F4 #C97BF7 #E1B5FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.66
#C97BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BF7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BF7#FFFFFF#000000##000000
##C97BF71.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#739EF4
Tritanopia (blue-blind)
#C48FAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97bf7;
/* rgb */ color: rgb(201, 123, 247);
/* oklch */ color: oklch(71.5% 0.188 311.6);
Tailwind
colors: {
  custom: {
    50: '#dca3fa',
    500: '#c97bf7',
    950: '#000000',
  },
}
SCSS
$custom: #c97bf7;
$custom-light: #dca3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bf7",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 277.742,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71456,
    "c": 0.18799,
    "h": 311.6
  },
  "luminance": 0.33299
}

Semantic roles & 50–950 ramp

primary
#C97BF7
secondary
#E1F5D6
accent
#E50055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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