#997AF4#997AF4

#997AF4 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.4% C 0.176 H 292.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#997AF4
RGBrgb(153, 122, 244)
HSLhsl(255, 85%, 72%)
HSVhsv(255, 50%, 96%)
CMYKcmyk(37.3%, 50%, 0%, 4.3%)
CIE-LABlab(59.18, 39.12, -57.31)
CIE-LCHlch(59.18, 69.39, 304.32°)
OKLaboklab(66.41% 0.0678 -0.1622)
OKLCHoklch(66.41% 0.176 292.7)
XYZxyz(36.4212, 27.2222, 88.9059)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AF4 #D5F47A
analogous
#7A98F4 #997AF4 #D67AF4
triadic
#997AF4 #F4997A #7AF499
tetradic
#997AF4 #F47A98 #D5F47A #7AF4D6
square
#997AF4 #F47A98 #D5F47A #7AF4D6
split-complementary
#997AF4 #F4D67A #98F47A
monochromatic
#4713E1 #6E41EF #997AF4 #C4B3F9 #E9E3FD

Accessibility & contrast

On white

3.26
#997AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#997AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AF4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AF4#FFFFFF#000000##000000
##997AF41.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A90F8
Deuteranopia (green-blind)
#4F8CF1
Tritanopia (blue-blind)
#8293AC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997af4;
/* rgb */ color: rgb(153, 122, 244);
/* oklch */ color: oklch(66.4% 0.176 292.7);
Tailwind
colors: {
  custom: {
    50: '#bba1f8',
    500: '#997af4',
    950: '#000000',
  },
}
SCSS
$custom: #997af4;
$custom-light: #bba1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#997af4",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 255.246,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66409,
    "c": 0.1758,
    "h": 292.7
  },
  "luminance": 0.27223
}

Semantic roles & 50–950 ramp

primary
#997AF4
secondary
#EDF4D5
accent
#E104A9
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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