#997EFF#997EFF

#997EFF is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.184 H 290.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#997EFF
RGBrgb(153, 126, 255)
HSLhsl(253, 100%, 75%)
HSVhsv(253, 51%, 100%)
CMYKcmyk(40%, 50.6%, 0%, 0%)
CIE-LABlab(60.70, 39.78, -60.94)
CIE-LCHlch(60.70, 72.78, 303.14°)
OKLaboklab(67.75% 0.0637 -0.1728)
OKLCHoklch(67.75% 0.184 290.2)
XYZxyz(38.6428, 28.9128, 98.1331)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EFF #E4FF7E
analogous
#7EA4FF #997EFF #D97EFF
triadic
#997EFF #FF997E #7EFF99
tetradic
#997EFF #FF7EA4 #E4FF7E #7EFFD9
square
#997EFF #FF7EA4 #E4FF7E #7EFFD9
split-complementary
#997EFF #FFD97E #A4FF7E
monochromatic
#3804FF #6941FF #997EFF #C9BBFF #E7E0FF

Accessibility & contrast

On white

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

On black

6.78
#997EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EFF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EFF#FFFFFF#000000##000000
##997EFF1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4795FF
Deuteranopia (green-blind)
#4A90FC
Tritanopia (blue-blind)
#7D99B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997eff;
/* rgb */ color: rgb(153, 126, 255);
/* oklch */ color: oklch(67.7% 0.184 290.2);
Tailwind
colors: {
  custom: {
    50: '#bca4ff',
    500: '#997eff',
    950: '#000000',
  },
}
SCSS
$custom: #997eff;
$custom-light: #bca4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997eff",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 252.558,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67748,
    "c": 0.1842,
    "h": 290.2
  },
  "luminance": 0.28914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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