#997AFD#997AFD

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

Color values

HEX#997AFD
RGBrgb(153, 122, 253)
HSLhsl(254, 97%, 74%)
HSVhsv(254, 52%, 99%)
CMYKcmyk(39.5%, 51.8%, 0%, 0.8%)
CIE-LABlab(59.69, 41.51, -61.46)
CIE-LCHlch(59.69, 74.16, 304.03°)
OKLaboklab(66.96% 0.0684 -0.1744)
OKLCHoklch(66.96% 0.187 291.4)
XYZxyz(37.8212, 27.7822, 96.2792)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AFD #DEFD7A
analogous
#7A9CFD #997AFD #DA7AFD
triadic
#997AFD #FD997A #7AFD99
tetradic
#997AFD #FD7A9C #DEFD7A #7AFDDA
square
#997AFD #FD7A9C #DEFD7A #7AFDDA
split-complementary
#997AFD #FDDA7A #9CFD7A
monochromatic
#3E04F9 #6B3EFC #997AFD #C7B6FE #E8E1FF

Accessibility & contrast

On white

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

On black

6.56
#997AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AFD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AFD#FFFFFF#000000##000000
##997AFD1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#468DFA
Tritanopia (blue-blind)
#7E95B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997afd;
/* rgb */ color: rgb(153, 122, 253);
/* oklch */ color: oklch(67.0% 0.187 291.4);
Tailwind
colors: {
  custom: {
    50: '#bca1ff',
    500: '#997afd',
    950: '#000000',
  },
}
SCSS
$custom: #997afd;
$custom-light: #bca1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997afd",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 254.198,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66956,
    "c": 0.1873,
    "h": 291.4
  },
  "luminance": 0.27783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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