#C97BF4#C97BF4

#C97BF4 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.3% C 0.185 H 312.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#C97BF4
RGBrgb(201, 123, 244)
HSLhsl(279, 85%, 72%)
HSVhsv(279, 50%, 96%)
CMYKcmyk(17.6%, 49.6%, 0%, 4.3%)
CIE-LABlab(64.25, 50.85, -48.95)
CIE-LCHlch(64.25, 70.58, 316.09°)
OKLaboklab(71.3% 0.1244 -0.1365)
OKLCHoklch(71.3% 0.185 312.3)
XYZxyz(47.4967, 33.1161, 89.4604)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BF4 #A6F47B
analogous
#8D7BF4 #C97BF4 #F47BE2
triadic
#C97BF4 #F4C97B #7BF4C9
tetradic
#C97BF4 #F48D7B #A6F47B #7BE2F4
square
#C97BF4 #F48D7B #A6F47B #7BE2F4
split-complementary
#C97BF4 #E2F47B #7BF48D
monochromatic
#9813E2 #B243EF #C97BF4 #E0B3F9 #F3E3FD

Accessibility & contrast

On white

2.75
#C97BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#C97BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BF4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BF4#FFFFFF#000000##000000
##C97BF41.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98F8
Deuteranopia (green-blind)
#759EF1
Tritanopia (blue-blind)
#C58EAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97bf4;
/* rgb */ color: rgb(201, 123, 244);
/* oklch */ color: oklch(71.3% 0.185 312.3);
Tailwind
colors: {
  custom: {
    50: '#dca3f8',
    500: '#c97bf4',
    950: '#000000',
  },
}
SCSS
$custom: #c97bf4;
$custom-light: #dca3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bf4",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 278.678,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71298,
    "c": 0.18472,
    "h": 312.3
  },
  "luminance": 0.33115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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