#997EF6#997EF6

#997EF6 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.2% C 0.173 H 291.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#997EF6
RGBrgb(153, 126, 246)
HSLhsl(254, 87%, 73%)
HSVhsv(254, 49%, 96%)
CMYKcmyk(37.8%, 48.8%, 0%, 3.5%)
CIE-LABlab(60.20, 37.38, -56.79)
CIE-LCHlch(60.20, 67.99, 303.35°)
OKLaboklab(67.21% 0.063 -0.1607)
OKLCHoklch(67.21% 0.173 291.4)
XYZxyz(37.2278, 28.3469, 90.6810)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EF6 #DBF67E
analogous
#7E9FF6 #997EF6 #D57EF6
triadic
#997EF6 #F6997E #7EF699
tetradic
#997EF6 #F67E9F #DBF67E #7EF6D5
square
#997EF6 #F67E9F #DBF67E #7EF6D5
split-complementary
#997EF6 #F6D57E #9FF67E
monochromatic
#4110E9 #6C45F2 #997EF6 #C6B7FA #E8E2FD

Accessibility & contrast

On white

3.15
#997EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#997EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EF6
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EF6#FFFFFF#000000##000000
##997EF61.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#538FF3
Tritanopia (blue-blind)
#8196AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997ef6;
/* rgb */ color: rgb(153, 126, 246);
/* oklch */ color: oklch(67.2% 0.173 291.4);
Tailwind
colors: {
  custom: {
    50: '#bba4fa',
    500: '#997ef6',
    950: '#000000',
  },
}
SCSS
$custom: #997ef6;
$custom-light: #bba4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997ef6",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 253.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67208,
    "c": 0.17257,
    "h": 291.4
  },
  "luminance": 0.28348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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