#C997FF#C997FF

#C997FF is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.3% C 0.153 H 305.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#C997FF
RGBrgb(201, 151, 255)
HSLhsl(269, 100%, 80%)
HSVhsv(269, 41%, 100%)
CMYKcmyk(21.2%, 40.8%, 0%, 0%)
CIE-LABlab(70.71, 38.30, -44.80)
CIE-LCHlch(70.71, 58.94, 310.53°)
OKLaboklab(76.3% 0.088 -0.1246)
OKLCHoklch(76.3% 0.153 305.2)
XYZxyz(53.2003, 41.7710, 99.8483)
Luminance0.4177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C997FF #CDFF97
analogous
#9799FF #C997FF #FD97FF
triadic
#C997FF #FFC997 #97FFC9
tetradic
#C997FF #FF9799 #CDFF97 #97FFFD
square
#C997FF #FF9799 #CDFF97 #97FFFD
split-complementary
#C997FF #FFFD97 #99FF97
monochromatic
#891DFF #A95AFF #C997FF #E9D4FF #EFE0FF

Accessibility & contrast

On white

2.24
#C997FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#C997FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C997FF
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C997FF#FFFFFF#000000##000000
##C997FF1.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#8AADFC
Tritanopia (blue-blind)
#C1A8BF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c997ff;
/* rgb */ color: rgb(201, 151, 255);
/* oklch */ color: oklch(76.3% 0.153 305.2);
Tailwind
colors: {
  custom: {
    50: '#dbb6ff',
    500: '#c997ff',
    950: '#000000',
  },
}
SCSS
$custom: #c997ff;
$custom-light: #dbb6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c997ff",
  "rgb": {
    "r": 201,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 268.846,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76297,
    "c": 0.15256,
    "h": 305.2
  },
  "luminance": 0.41771
}

Semantic roles & 50–950 ramp

primary
#C997FF
secondary
#E6F7D4
accent
#E60077
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C997FF

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

Preview Lab → · Contrast checker → · Palette generator →

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