#C997EB#C997EB

#C997EB is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.4% C 0.128 H 310.8°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#C997EB
RGBrgb(201, 151, 235)
HSLhsl(276, 68%, 76%)
HSVhsv(276, 36%, 92%)
CMYKcmyk(14.5%, 35.7%, 0%, 7.8%)
CIE-LABlab(69.86, 33.94, -35.23)
CIE-LCHlch(69.86, 48.92, 313.93°)
OKLaboklab(75.37% 0.0839 -0.0971)
OKLCHoklch(75.37% 0.128 310.8)
XYZxyz(50.1468, 40.5496, 83.7663)
Luminance0.4055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C997EB #B9EB97
analogous
#9F97EB #C997EB #EB97E3
triadic
#C997EB #EBC997 #97EBC9
tetradic
#C997EB #EB9F97 #B9EB97 #97E3EB
square
#C997EB #EB9F97 #B9EB97 #97E3EB
split-complementary
#C997EB #E3EB97 #97EB9F
monochromatic
#9430D7 #AE64E1 #C997EB #E4CAF5 #F2E5FA

Accessibility & contrast

On white

2.31
#C997EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#C997EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C997EB
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C997EB#FFFFFF#000000##000000
##C997EB1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8EE
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#C5A3B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c997eb;
/* rgb */ color: rgb(201, 151, 235);
/* oklch */ color: oklch(75.4% 0.128 310.8);
Tailwind
colors: {
  custom: {
    50: '#dab6f1',
    500: '#c997eb',
    950: '#000000',
  },
}
SCSS
$custom: #c997eb;
$custom-light: #dab6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c997eb",
  "rgb": {
    "r": 201,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 275.714,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75371,
    "c": 0.12834,
    "h": 310.8
  },
  "luminance": 0.40549
}

Semantic roles & 50–950 ramp

primary
#C997EB
secondary
#E3F2D9
accent
#D01661
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C997EB

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

Preview Lab → · Contrast checker → · Palette generator →

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