#997AFF#997AFF

#997AFF is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.190 H 291.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#997AFF
RGBrgb(153, 122, 255)
HSLhsl(254, 100%, 74%)
HSVhsv(254, 52%, 100%)
CMYKcmyk(40%, 52.2%, 0%, 0%)
CIE-LABlab(59.81, 42.04, -62.38)
CIE-LCHlch(59.81, 75.22, 303.98°)
OKLaboklab(67.08% 0.0685 -0.1771)
OKLCHoklch(67.08% 0.19 291.1)
XYZxyz(38.1415, 27.9103, 97.9660)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AFF #E0FF7A
analogous
#7A9EFF #997AFF #DC7AFF
triadic
#997AFF #FF997A #7AFF99
tetradic
#997AFF #FF7A9E #E0FF7A #7AFFDC
square
#997AFF #FF7A9E #E0FF7A #7AFFDC
split-complementary
#997AFF #FFDC7A #9EFF7A
monochromatic
#3B00FF #6A3DFF #997AFF #C8B7FF #E8E0FF

Accessibility & contrast

On white

3.19
#997AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#997AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AFF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AFF#FFFFFF#000000##000000
##997AFF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#438DFC
Tritanopia (blue-blind)
#7D96B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997aff;
/* rgb */ color: rgb(153, 122, 255);
/* oklch */ color: oklch(67.1% 0.190 291.1);
Tailwind
colors: {
  custom: {
    50: '#bca1ff',
    500: '#997aff',
    950: '#000000',
  },
}
SCSS
$custom: #997aff;
$custom-light: #bca1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997aff",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 253.985,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6708,
    "c": 0.18984,
    "h": 291.1
  },
  "luminance": 0.27911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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