#997EF8#997EF8

#997EF8 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.3% C 0.175 H 291.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#997EF8
RGBrgb(153, 126, 248)
HSLhsl(253, 90%, 73%)
HSVhsv(253, 49%, 97%)
CMYKcmyk(38.3%, 49.2%, 0%, 2.7%)
CIE-LABlab(60.31, 37.91, -57.72)
CIE-LCHlch(60.31, 69.05, 303.30°)
OKLaboklab(67.33% 0.0632 -0.1634)
OKLCHoklch(67.33% 0.175 291.1)
XYZxyz(37.5364, 28.4703, 92.3063)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EF8 #DDF87E
analogous
#7EA0F8 #997EF8 #D67EF8
triadic
#997EF8 #F8997E #7EF899
tetradic
#997EF8 #F87EA0 #DDF87E #7EF8D6
square
#997EF8 #F87EA0 #DDF87E #7EF8D6
split-complementary
#997EF8 #F8D67E #A0F87E
monochromatic
#3F0DEF #6B44F5 #997EF8 #C7B8FB #E8E2FD

Accessibility & contrast

On white

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

On black

6.69
#997EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EF8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EF8#FFFFFF#000000##000000
##997EF81.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FC
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#8097AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997ef8;
/* rgb */ color: rgb(153, 126, 248);
/* oklch */ color: oklch(67.3% 0.175 291.1);
Tailwind
colors: {
  custom: {
    50: '#bba4fb',
    500: '#997ef8',
    950: '#000000',
  },
}
SCSS
$custom: #997ef8;
$custom-light: #bba4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#997ef8",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 253.279,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67327,
    "c": 0.17517,
    "h": 291.1
  },
  "luminance": 0.28471
}

Semantic roles & 50–950 ramp

primary
#997EF8
secondary
#EEF6D5
accent
#E600B3
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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