#C97FFB#C97FFB

#C97FFB is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.186 H 310.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C97FFB
RGBrgb(201, 127, 251)
HSLhsl(276, 94%, 74%)
HSVhsv(276, 49%, 98%)
CMYKcmyk(19.9%, 49.4%, 0%, 1.6%)
CIE-LABlab(65.41, 50.26, -50.98)
CIE-LCHlch(65.41, 71.59, 314.60°)
OKLaboklab(72.26% 0.1198 -0.1425)
OKLCHoklch(72.26% 0.186 310.1)
XYZxyz(49.0861, 34.5621, 95.3334)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FFB #B1FB7F
analogous
#8B7FFB #C97FFB #FB7FEF
triadic
#C97FFB #FBC97F #7FFBC9
tetradic
#C97FFB #FB8B7F #B1FB7F #7FEFFB
square
#C97FFB #FB8B7F #B1FB7F #7FEFFB
split-complementary
#C97FFB #EFFB7F #7FFB8B
monochromatic
#9708F7 #B044F9 #C97FFB #E2BAFD #F2E1FE

Accessibility & contrast

On white

2.65
#C97FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#C97FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FFB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FFB#FFFFFF#000000##000000
##C97FFB1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#C394B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c97ffb;
/* rgb */ color: rgb(201, 127, 251);
/* oklch */ color: oklch(72.3% 0.186 310.1);
Tailwind
colors: {
  custom: {
    50: '#dca6fd',
    500: '#c97ffb',
    950: '#000000',
  },
}
SCSS
$custom: #c97ffb;
$custom-light: #dca6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ffb",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 275.806,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72264,
    "c": 0.18615,
    "h": 310.1
  },
  "luminance": 0.34561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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