#997AF0#997AF0

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

Color values

HEX#997AF0
RGBrgb(153, 122, 240)
HSLhsl(256, 80%, 71%)
HSVhsv(256, 49%, 94%)
CMYKcmyk(36.3%, 49.2%, 0%, 5.9%)
CIE-LABlab(58.96, 38.07, -55.45)
CIE-LCHlch(58.96, 67.26, 304.47°)
OKLaboklab(66.17% 0.0674 -0.1567)
OKLCHoklch(66.17% 0.171 293.3)
XYZxyz(35.8205, 26.9819, 85.7419)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AF0 #D1F07A
analogous
#7A96F0 #997AF0 #D47AF0
triadic
#997AF0 #F0997A #7AF099
tetradic
#997AF0 #F07A96 #D1F07A #7AF0D4
square
#997AF0 #F07A96 #D1F07A #7AF0D4
split-complementary
#997AF0 #F0D47A #96F07A
monochromatic
#4A18D7 #6F43EA #997AF0 #C3B1F6 #EAE4FC

Accessibility & contrast

On white

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

On black

6.40
#997AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AF0
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AF0#FFFFFF#000000##000000
##997AF01.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF4
Deuteranopia (green-blind)
#538CED
Tritanopia (blue-blind)
#8491AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997af0;
/* rgb */ color: rgb(153, 122, 240);
/* oklch */ color: oklch(66.2% 0.171 293.3);
Tailwind
colors: {
  custom: {
    50: '#bba1f5',
    500: '#997af0',
    950: '#000000',
  },
}
SCSS
$custom: #997af0;
$custom-light: #bba1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997af0",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 255.763,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66172,
    "c": 0.17064,
    "h": 293.3
  },
  "luminance": 0.26983
}

Semantic roles & 50–950 ramp

primary
#997AF0
secondary
#EAF3D3
accent
#DC09A5
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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