#997AF7#997AF7

#997AF7 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.6% C 0.180 H 292.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#997AF7
RGBrgb(153, 122, 247)
HSLhsl(255, 89%, 72%)
HSVhsv(255, 51%, 97%)
CMYKcmyk(38.1%, 50.6%, 0%, 3.1%)
CIE-LABlab(59.35, 39.91, -58.70)
CIE-LCHlch(59.35, 70.99, 304.21°)
OKLaboklab(66.59% 0.068 -0.1663)
OKLCHoklch(66.59% 0.18 292.2)
XYZxyz(36.8804, 27.4058, 91.3244)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AF7 #D8F77A
analogous
#7A9AF7 #997AF7 #D77AF7
triadic
#997AF7 #F7997A #7AF799
tetradic
#997AF7 #F77A9A #D8F77A #7AF7D7
square
#997AF7 #F77A9A #D8F77A #7AF7D7
split-complementary
#997AF7 #F7D77A #9AF77A
monochromatic
#440EE9 #6D40F4 #997AF7 #C5B4FA #E9E2FD

Accessibility & contrast

On white

3.24
#997AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#997AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AF7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AF7#FFFFFF#000000##000000
##997AF71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#4C8CF4
Tritanopia (blue-blind)
#8193AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997af7;
/* rgb */ color: rgb(153, 122, 247);
/* oklch */ color: oklch(66.6% 0.180 292.2);
Tailwind
colors: {
  custom: {
    50: '#bba1fa',
    500: '#997af7',
    950: '#000000',
  },
}
SCSS
$custom: #997af7;
$custom-light: #bba1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997af7",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 254.88,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6659,
    "c": 0.17964,
    "h": 292.2
  },
  "luminance": 0.27407
}

Semantic roles & 50–950 ramp

primary
#997AF7
secondary
#EDF5D6
accent
#E500AC
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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