#C97EFB#C97EFB

#C97EFB is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.188 H 310.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#C97EFB
RGBrgb(201, 126, 251)
HSLhsl(276, 94%, 74%)
HSVhsv(276, 50%, 98%)
CMYKcmyk(19.9%, 49.8%, 0%, 1.6%)
CIE-LABlab(65.20, 50.79, -51.30)
CIE-LCHlch(65.20, 72.18, 314.71°)
OKLaboklab(72.11% 0.1211 -0.1434)
OKLCHoklch(72.11% 0.188 310.2)
XYZxyz(48.9576, 34.3051, 95.2906)
Luminance0.3430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EFB #B0FB7E
analogous
#8B7EFB #C97EFB #FB7EEF
triadic
#C97EFB #FBC97E #7EFBC9
tetradic
#C97EFB #FB8B7E #B0FB7E #7EEFFB
square
#C97EFB #FB8B7E #B0FB7E #7EEFFB
split-complementary
#C97EFB #EFFB7E #7EFB8B
monochromatic
#9708F7 #B043F9 #C97EFB #E2B9FD #F3E1FE

Accessibility & contrast

On white

2.67
#C97EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#C97EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EFB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EFB#FFFFFF#000000##000000
##C97EFB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#C393B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97efb;
/* rgb */ color: rgb(201, 126, 251);
/* oklch */ color: oklch(72.1% 0.188 310.2);
Tailwind
colors: {
  custom: {
    50: '#dca5fd',
    500: '#c97efb',
    950: '#000000',
  },
}
SCSS
$custom: #c97efb;
$custom-light: #dca5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c97efb",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 276,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72114,
    "c": 0.18771,
    "h": 310.2
  },
  "luminance": 0.34304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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