#997EF7#997EF7

#997EF7 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.3% C 0.174 H 291.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#997EF7
RGBrgb(153, 126, 247)
HSLhsl(253, 88%, 73%)
HSVhsv(253, 49%, 97%)
CMYKcmyk(38.1%, 49%, 0%, 3.1%)
CIE-LABlab(60.26, 37.64, -57.25)
CIE-LCHlch(60.26, 68.52, 303.33°)
OKLaboklab(67.27% 0.0631 -0.162)
OKLCHoklch(67.27% 0.174 291.3)
XYZxyz(37.3817, 28.4084, 91.4915)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EF7 #DCF77E
analogous
#7EA0F7 #997EF7 #D57EF7
triadic
#997EF7 #F7997E #7EF799
tetradic
#997EF7 #F77EA0 #DCF77E #7EF7D5
square
#997EF7 #F77EA0 #DCF77E #7EF7D5
split-complementary
#997EF7 #F7D57E #A0F77E
monochromatic
#400FEC #6B44F3 #997EF7 #C7B8FB #E8E2FD

Accessibility & contrast

On white

3.14
#997EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#997EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EF7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EF7#FFFFFF#000000##000000
##997EF71.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#528FF4
Tritanopia (blue-blind)
#8096AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997ef7;
/* rgb */ color: rgb(153, 126, 247);
/* oklch */ color: oklch(67.3% 0.174 291.3);
Tailwind
colors: {
  custom: {
    50: '#bba4fa',
    500: '#997ef7',
    950: '#000000',
  },
}
SCSS
$custom: #997ef7;
$custom-light: #bba4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997ef7",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 253.388,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67268,
    "c": 0.17387,
    "h": 291.3
  },
  "luminance": 0.28409
}

Semantic roles & 50–950 ramp

primary
#997EF7
secondary
#EEF5D6
accent
#E501B2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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