#C997FC#C997FC

#C997FC is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.2% C 0.149 H 306.0°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#C997FC
RGBrgb(201, 151, 252)
HSLhsl(270, 94%, 79%)
HSVhsv(270, 40%, 99%)
CMYKcmyk(20.2%, 40.1%, 0%, 1.2%)
CIE-LABlab(70.58, 37.63, -43.38)
CIE-LCHlch(70.58, 57.43, 310.94°)
OKLaboklab(76.15% 0.0874 -0.1205)
OKLCHoklch(76.15% 0.149 306)
XYZxyz(52.7212, 41.5793, 97.3248)
Luminance0.4158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C997FC #CAFC97
analogous
#9798FC #C997FC #FC97FC
triadic
#C997FC #FCC997 #97FCC9
tetradic
#C997FC #FC9798 #CAFC97 #97FCFC
square
#C997FC #FC9798 #CAFC97 #97FCFC
split-complementary
#C997FC #FCFC97 #98FC97
monochromatic
#8B20F9 #AA5CFA #C997FC #E8D2FE #F0E1FE

Accessibility & contrast

On white

2.25
#C997FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#C997FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C997FC
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C997FC#FFFFFF#000000##000000
##C997FC1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#C1A7BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c997fc;
/* rgb */ color: rgb(201, 151, 252);
/* oklch */ color: oklch(76.2% 0.149 306.0);
Tailwind
colors: {
  custom: {
    50: '#dbb6fd',
    500: '#c997fc',
    950: '#000000',
  },
}
SCSS
$custom: #c997fc;
$custom-light: #dbb6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c997fc",
  "rgb": {
    "r": 201,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 269.703,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76153,
    "c": 0.1489,
    "h": 306
  },
  "luminance": 0.41579
}

Semantic roles & 50–950 ramp

primary
#C997FC
secondary
#E6F6D5
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C997FC

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

Preview Lab → · Contrast checker → · Palette generator →

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