#997AF1#997AF1

#997AF1 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.2% C 0.172 H 293.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#997AF1
RGBrgb(153, 122, 241)
HSLhsl(256, 81%, 71%)
HSVhsv(256, 49%, 95%)
CMYKcmyk(36.5%, 49.4%, 0%, 5.5%)
CIE-LABlab(59.01, 38.33, -55.92)
CIE-LCHlch(59.01, 67.79, 304.43°)
OKLaboklab(66.23% 0.0675 -0.1581)
OKLCHoklch(66.23% 0.172 293.1)
XYZxyz(35.9694, 27.0414, 86.5264)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AF1 #D2F17A
analogous
#7A96F1 #997AF1 #D47AF1
triadic
#997AF1 #F1997A #7AF199
tetradic
#997AF1 #F17A96 #D2F17A #7AF1D4
square
#997AF1 #F17A96 #D2F17A #7AF1D4
split-complementary
#997AF1 #F1D47A #96F17A
monochromatic
#4A17DA #6F43EB #997AF1 #C3B1F7 #EAE3FC

Accessibility & contrast

On white

3.28
#997AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#997AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AF1
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AF1#FFFFFF#000000##000000
##997AF11.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8FF5
Deuteranopia (green-blind)
#528CEE
Tritanopia (blue-blind)
#8392AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997af1;
/* rgb */ color: rgb(153, 122, 241);
/* oklch */ color: oklch(66.2% 0.172 293.1);
Tailwind
colors: {
  custom: {
    50: '#bba1f6',
    500: '#997af1',
    950: '#000000',
  },
}
SCSS
$custom: #997af1;
$custom-light: #bba1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#997af1",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 241
  },
  "hsl": {
    "h": 255.63,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66231,
    "c": 0.17193,
    "h": 293.1
  },
  "luminance": 0.27042
}

Semantic roles & 50–950 ramp

primary
#997AF1
secondary
#EBF3D4
accent
#DD08A6
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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