#997AFE#997AFE

#997AFE is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.189 H 291.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#997AFE
RGBrgb(153, 122, 254)
HSLhsl(254, 99%, 74%)
HSVhsv(254, 52%, 100%)
CMYKcmyk(39.8%, 52%, 0%, 0.4%)
CIE-LABlab(59.75, 41.77, -61.92)
CIE-LCHlch(59.75, 74.69, 304.01°)
OKLaboklab(67.02% 0.0684 -0.1757)
OKLCHoklch(67.02% 0.189 291.3)
XYZxyz(37.9809, 27.8460, 97.1204)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AFE #DFFE7A
analogous
#7A9DFE #997AFE #DB7AFE
triadic
#997AFE #FE997A #7AFE99
tetradic
#997AFE #FE7A9D #DFFE7A #7AFEDB
square
#997AFE #FE7A9D #DFFE7A #7AFEDB
split-complementary
#997AFE #FEDB7A #9DFE7A
monochromatic
#3D02FC #6A3DFE #997AFE #C8B7FE #E8E1FF

Accessibility & contrast

On white

3.20
#997AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#997AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AFE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AFE#FFFFFF#000000##000000
##997AFE1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#448DFB
Tritanopia (blue-blind)
#7E95B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997afe;
/* rgb */ color: rgb(153, 122, 254);
/* oklch */ color: oklch(67.0% 0.189 291.3);
Tailwind
colors: {
  custom: {
    50: '#bca1ff',
    500: '#997afe',
    950: '#000000',
  },
}
SCSS
$custom: #997afe;
$custom-light: #bca1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997afe",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 254.091,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67018,
    "c": 0.18857,
    "h": 291.3
  },
  "luminance": 0.27847
}

Semantic roles & 50–950 ramp

primary
#997AFE
secondary
#EFF7D4
accent
#E600B0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #997AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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