#997EF3#997EF3

#997EF3 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.0% C 0.169 H 291.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#997EF3
RGBrgb(153, 126, 243)
HSLhsl(254, 83%, 72%)
HSVhsv(254, 48%, 95%)
CMYKcmyk(37%, 48.1%, 0%, 4.7%)
CIE-LABlab(60.04, 36.58, -55.39)
CIE-LCHlch(60.04, 66.38, 303.44°)
OKLaboklab(67.03% 0.0627 -0.1566)
OKLCHoklch(67.03% 0.169 291.8)
XYZxyz(36.7711, 28.1642, 88.2755)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EF3 #D8F37E
analogous
#7E9EF3 #997EF3 #D37EF3
triadic
#997EF3 #F3997E #7EF399
tetradic
#997EF3 #F37E9E #D8F37E #7EF3D3
square
#997EF3 #F37E9E #D8F37E #7EF3D3
split-complementary
#997EF3 #F3D37E #9EF37E
monochromatic
#4415E2 #6D46EE #997EF3 #C5B6F8 #E9E3FC

Accessibility & contrast

On white

3.17
#997EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#997EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EF3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EF3#FFFFFF#000000##000000
##997EF31.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F7
Deuteranopia (green-blind)
#568EF0
Tritanopia (blue-blind)
#8295AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997ef3;
/* rgb */ color: rgb(153, 126, 243);
/* oklch */ color: oklch(67.0% 0.169 291.8);
Tailwind
colors: {
  custom: {
    50: '#bba4f8',
    500: '#997ef3',
    950: '#000000',
  },
}
SCSS
$custom: #997ef3;
$custom-light: #bba4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#997ef3",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 253.846,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67033,
    "c": 0.16866,
    "h": 291.8
  },
  "luminance": 0.28165
}

Semantic roles & 50–950 ramp

primary
#997EF3
secondary
#EDF4D7
accent
#DF06AD
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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