#C97BFB#C97BFB

#C97BFB is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.7% C 0.192 H 310.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C97BFB
RGBrgb(201, 123, 251)
HSLhsl(277, 94%, 73%)
HSVhsv(277, 51%, 98%)
CMYKcmyk(19.9%, 51%, 0%, 1.6%)
CIE-LABlab(64.60, 52.34, -52.25)
CIE-LCHlch(64.60, 73.96, 315.05°)
OKLaboklab(71.67% 0.1251 -0.1461)
OKLCHoklch(71.67% 0.192 310.6)
XYZxyz(48.5797, 33.5494, 95.1646)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BFB #ADFB7B
analogous
#897BFB #C97BFB #FB7BED
triadic
#C97BFB #FBC97B #7BFBC9
tetradic
#C97BFB #FB897B #ADFB7B #7BEDFB
square
#C97BFB #FB897B #ADFB7B #7BEDFB
split-complementary
#C97BFB #EDFB7B #7BFB89
monochromatic
#9807F4 #B140F9 #C97BFB #E1B6FD #F3E1FE

Accessibility & contrast

On white

2.72
#C97BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#C97BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BFB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BFB#FFFFFF#000000##000000
##C97BFB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#C390B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97bfb;
/* rgb */ color: rgb(201, 123, 251);
/* oklch */ color: oklch(71.7% 0.192 310.6);
Tailwind
colors: {
  custom: {
    50: '#dca3fd',
    500: '#c97bfb',
    950: '#000000',
  },
}
SCSS
$custom: #c97bfb;
$custom-light: #dca3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bfb",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 276.563,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7167,
    "c": 0.19236,
    "h": 310.6
  },
  "luminance": 0.33548
}

Semantic roles & 50–950 ramp

primary
#C97BFB
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C97BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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