#997FEC#997FEC

#997FEC is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.8% C 0.158 H 292.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#997FEC
RGBrgb(153, 127, 236)
HSLhsl(254, 74%, 71%)
HSVhsv(254, 46%, 93%)
CMYKcmyk(35.2%, 46.2%, 0%, 7.5%)
CIE-LABlab(59.89, 34.17, -51.74)
CIE-LCHlch(59.89, 62.01, 303.44°)
OKLaboklab(66.8% 0.0607 -0.1459)
OKLCHoklch(66.8% 0.158 292.6)
XYZxyz(35.8626, 28.0064, 82.8569)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FEC #D2EC7F
analogous
#7F9BEC #997FEC #CF7FEC
triadic
#997FEC #EC997F #7FEC99
tetradic
#997FEC #EC7F9B #D2EC7F #7FECCF
square
#997FEC #EC7F9B #D2EC7F #7FECCF
split-complementary
#997FEC #ECCF7F #9BEC7F
monochromatic
#4A1FD2 #6F4AE4 #997FEC #C3B4F4 #EAE4FB

Accessibility & contrast

On white

3.18
#997FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#997FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FEC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FEC#FFFFFF#000000##000000
##997FEC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#5D8EE9
Tritanopia (blue-blind)
#8594AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997fec;
/* rgb */ color: rgb(153, 127, 236);
/* oklch */ color: oklch(66.8% 0.158 292.6);
Tailwind
colors: {
  custom: {
    50: '#baa4f3',
    500: '#997fec',
    950: '#000000',
  },
}
SCSS
$custom: #997fec;
$custom-light: #baa4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#997fec",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 254.312,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66804,
    "c": 0.15799,
    "h": 292.6
  },
  "luminance": 0.28007
}

Semantic roles & 50–950 ramp

primary
#997FEC
secondary
#EBF2D5
accent
#D60FA7
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FEC

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

Preview Lab → · Contrast checker → · Palette generator →

#997FEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva