#997FFA#997FFA

#997FFA is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.6% C 0.176 H 290.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#997FFA
RGBrgb(153, 127, 250)
HSLhsl(253, 92%, 74%)
HSVhsv(253, 49%, 98%)
CMYKcmyk(38.8%, 49.2%, 0%, 2%)
CIE-LABlab(60.65, 37.88, -58.28)
CIE-LCHlch(60.65, 69.50, 303.02°)
OKLaboklab(67.62% 0.0621 -0.165)
OKLCHoklch(67.62% 0.176 290.6)
XYZxyz(37.9769, 28.8521, 93.9920)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FFA #E0FA7F
analogous
#7FA3FA #997FFA #D77FFA
triadic
#997FFA #FA997F #7FFA99
tetradic
#997FFA #FA7FA3 #E0FA7F #7FFAD7
square
#997FFA #FA7FA3 #E0FA7F #7FFAD7
split-complementary
#997FFA #FAD77F #A3FA7F
monochromatic
#3B0AF5 #6A44F8 #997FFA #C8BAFC #E8E2FE

Accessibility & contrast

On white

3.10
#997FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#997FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FFA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FFA#FFFFFF#000000##000000
##997FFA1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FE
Deuteranopia (green-blind)
#5190F7
Tritanopia (blue-blind)
#7F98B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997ffa;
/* rgb */ color: rgb(153, 127, 250);
/* oklch */ color: oklch(67.6% 0.176 290.6);
Tailwind
colors: {
  custom: {
    50: '#bba4fc',
    500: '#997ffa',
    950: '#000000',
  },
}
SCSS
$custom: #997ffa;
$custom-light: #bba4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#997ffa",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 252.683,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67617,
    "c": 0.17633,
    "h": 290.6
  },
  "luminance": 0.28853
}

Semantic roles & 50–950 ramp

primary
#997FFA
secondary
#EFF6D5
accent
#E600B5
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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