#997AFA#997AFA

#997AFA is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.8% C 0.183 H 291.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#997AFA
RGBrgb(153, 122, 250)
HSLhsl(255, 93%, 73%)
HSVhsv(255, 51%, 98%)
CMYKcmyk(38.8%, 51.2%, 0%, 2%)
CIE-LABlab(59.52, 40.71, -60.09)
CIE-LCHlch(59.52, 72.58, 304.12°)
OKLaboklab(66.77% 0.0682 -0.1703)
OKLCHoklch(66.77% 0.183 291.8)
XYZxyz(37.3471, 27.5925, 93.7821)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AFA #DBFA7A
analogous
#7A9BFA #997AFA #D97AFA
triadic
#997AFA #FA997A #7AFA99
tetradic
#997AFA #FA7A9B #DBFA7A #7AFAD9
square
#997AFA #FA7A9B #DBFA7A #7AFAD9
split-complementary
#997AFA #FAD97A #9BFA7A
monochromatic
#4109F1 #6C3FF8 #997AFA #C6B5FC #E8E2FE

Accessibility & contrast

On white

3.22
#997AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#997AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AFA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AFA#FFFFFF#000000##000000
##997AFA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FE
Deuteranopia (green-blind)
#498DF7
Tritanopia (blue-blind)
#8094AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997afa;
/* rgb */ color: rgb(153, 122, 250);
/* oklch */ color: oklch(66.8% 0.183 291.8);
Tailwind
colors: {
  custom: {
    50: '#bca1fd',
    500: '#997afa',
    950: '#000000',
  },
}
SCSS
$custom: #997afa;
$custom-light: #bca1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#997afa",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 254.531,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66772,
    "c": 0.18348,
    "h": 291.8
  },
  "luminance": 0.27593
}

Semantic roles & 50–950 ramp

primary
#997AFA
secondary
#EEF6D5
accent
#E600AE
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #997AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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