#C997EA#C997EA

#C997EA is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.3% C 0.127 H 311.2°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#C997EA
RGBrgb(201, 151, 234)
HSLhsl(276, 66%, 75%)
HSVhsv(276, 35%, 92%)
CMYKcmyk(14.1%, 35.5%, 0%, 8.2%)
CIE-LABlab(69.82, 33.73, -34.74)
CIE-LCHlch(69.82, 48.42, 314.15°)
OKLaboklab(75.33% 0.0837 -0.0957)
OKLCHoklch(75.33% 0.127 311.2)
XYZxyz(50.0027, 40.4920, 83.0075)
Luminance0.4049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C997EA #B8EA97
analogous
#9F97EA #C997EA #EA97E1
triadic
#C997EA #EAC997 #97EAC9
tetradic
#C997EA #EA9F97 #B8EA97 #97E1EA
square
#C997EA #EA9F97 #B8EA97 #97E1EA
split-complementary
#C997EA #E1EA97 #97EA9F
monochromatic
#9431D5 #AF64E0 #C997EA #E3CAF4 #F2E6FA

Accessibility & contrast

On white

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

On black

9.10
#C997EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C997EA
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C997EA#FFFFFF#000000##000000
##C997EA1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8ED
Deuteranopia (green-blind)
#93ACE8
Tritanopia (blue-blind)
#C6A2B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c997ea;
/* rgb */ color: rgb(201, 151, 234);
/* oklch */ color: oklch(75.3% 0.127 311.2);
Tailwind
colors: {
  custom: {
    50: '#dab6f1',
    500: '#c997ea',
    950: '#000000',
  },
}
SCSS
$custom: #c997ea;
$custom-light: #dab6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c997ea",
  "rgb": {
    "r": 201,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 276.145,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75327,
    "c": 0.12715,
    "h": 311.2
  },
  "luminance": 0.40491
}

Semantic roles & 50–950 ramp

primary
#C997EA
secondary
#E3F1DA
accent
#CE1760
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C997EA

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

Preview Lab → · Contrast checker → · Palette generator →

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