#C97BF6#C97BF6

#C97BF6 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.4% C 0.187 H 311.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#C97BF6
RGBrgb(201, 123, 246)
HSLhsl(278, 87%, 72%)
HSVhsv(278, 50%, 96%)
CMYKcmyk(18.3%, 50%, 0%, 3.5%)
CIE-LABlab(64.35, 51.27, -49.90)
CIE-LCHlch(64.35, 71.54, 315.78°)
OKLaboklab(71.4% 0.1246 -0.1393)
OKLCHoklch(71.4% 0.187 311.8)
XYZxyz(47.8020, 33.2383, 91.0684)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BF6 #A8F67B
analogous
#8C7BF6 #C97BF6 #F67BE5
triadic
#C97BF6 #F6C97B #7BF6C9
tetradic
#C97BF6 #F68C7B #A8F67B #7BE5F6
square
#C97BF6 #F68C7B #A8F67B #7BE5F6
split-complementary
#C97BF6 #E5F67B #7BF68C
monochromatic
#9810E7 #B242F2 #C97BF6 #E0B4FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.65
#C97BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BF6
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BF6#FFFFFF#000000##000000
##C97BF61.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#C48FAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97bf6;
/* rgb */ color: rgb(201, 123, 246);
/* oklch */ color: oklch(71.4% 0.187 311.8);
Tailwind
colors: {
  custom: {
    50: '#dca3f9',
    500: '#c97bf6',
    950: '#000000',
  },
}
SCSS
$custom: #c97bf6;
$custom-light: #dca3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bf6",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 278.049,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71403,
    "c": 0.1869,
    "h": 311.8
  },
  "luminance": 0.33237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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