#C997EF#C997EF

#C997EF is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.5% C 0.133 H 309.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#C997EF
RGBrgb(201, 151, 239)
HSLhsl(274, 73%, 76%)
HSVhsv(274, 37%, 94%)
CMYKcmyk(15.9%, 36.8%, 0%, 6.3%)
CIE-LABlab(70.02, 34.79, -37.16)
CIE-LCHlch(70.02, 50.91, 313.12°)
OKLaboklab(75.55% 0.0848 -0.1026)
OKLCHoklch(75.55% 0.133 309.6)
XYZxyz(50.7312, 40.7833, 86.8441)
Luminance0.4078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C997EF #BDEF97
analogous
#9D97EF #C997EF #EF97E9
triadic
#C997EF #EFC997 #97EFC9
tetradic
#C997EF #EF9D97 #BDEF97 #97E9EF
square
#C997EF #EF9D97 #BDEF97 #97E9EF
split-complementary
#C997EF #E9EF97 #97EF9D
monochromatic
#922DDF #AD62E7 #C997EF #E5CCF7 #F1E4FB

Accessibility & contrast

On white

2.29
#C997EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#C997EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C997EF
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C997EF#FFFFFF#000000##000000
##C997EF1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#C5A4B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c997ef;
/* rgb */ color: rgb(201, 151, 239);
/* oklch */ color: oklch(75.5% 0.133 309.6);
Tailwind
colors: {
  custom: {
    50: '#dab6f4',
    500: '#c997ef',
    950: '#000000',
  },
}
SCSS
$custom: #c997ef;
$custom-light: #dab6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c997ef",
  "rgb": {
    "r": 201,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 274.091,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7555,
    "c": 0.13314,
    "h": 309.6
  },
  "luminance": 0.40783
}

Semantic roles & 50–950 ramp

primary
#C997EF
secondary
#E4F3D8
accent
#D51065
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C997EF

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

Preview Lab → · Contrast checker → · Palette generator →

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