#997EFE#997EFE

#997EFE is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.183 H 290.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#997EFE
RGBrgb(153, 126, 254)
HSLhsl(253, 98%, 75%)
HSVhsv(253, 50%, 100%)
CMYKcmyk(39.8%, 50.4%, 0%, 0.4%)
CIE-LABlab(60.65, 39.52, -60.48)
CIE-LCHlch(60.65, 72.25, 303.16°)
OKLaboklab(67.69% 0.0637 -0.1715)
OKLCHoklch(67.69% 0.183 290.4)
XYZxyz(38.4822, 28.8486, 97.2875)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EFE #E3FE7E
analogous
#7EA3FE #997EFE #D97EFE
triadic
#997EFE #FE997E #7EFE99
tetradic
#997EFE #FE7EA3 #E3FE7E #7EFED9
square
#997EFE #FE7EA3 #E3FE7E #7EFED9
split-complementary
#997EFE #FED97E #A3FE7E
monochromatic
#3905FD #6941FE #997EFE #C9BBFE #E7E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997EFE#FFFFFF#000000##000000
##997EFE1.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)
#4895FF
Deuteranopia (green-blind)
#4B8FFB
Tritanopia (blue-blind)
#7D98B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997efe;
/* rgb */ color: rgb(153, 126, 254);
/* oklch */ color: oklch(67.7% 0.183 290.4);
Tailwind
colors: {
  custom: {
    50: '#bca4ff',
    500: '#997efe',
    950: '#000000',
  },
}
SCSS
$custom: #997efe;
$custom-light: #bca4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997efe",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 252.656,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67687,
    "c": 0.18292,
    "h": 290.4
  },
  "luminance": 0.2885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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