#997EFD#997EFD

#997EFD is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.6% C 0.182 H 290.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#997EFD
RGBrgb(153, 126, 253)
HSLhsl(253, 97%, 74%)
HSVhsv(253, 50%, 99%)
CMYKcmyk(39.5%, 50.2%, 0%, 0.8%)
CIE-LABlab(60.59, 39.25, -60.02)
CIE-LCHlch(60.59, 71.71, 303.18°)
OKLaboklab(67.63% 0.0636 -0.1701)
OKLCHoklch(67.63% 0.182 290.5)
XYZxyz(38.3225, 28.7847, 96.4463)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EFD #E2FD7E
analogous
#7EA3FD #997EFD #D97EFD
triadic
#997EFD #FD997E #7EFD99
tetradic
#997EFD #FD7EA3 #E2FD7E #7EFDD9
square
#997EFD #FD7EA3 #E2FD7E #7EFDD9
split-complementary
#997EFD #FDD97E #A3FD7E
monochromatic
#3A05FB #6942FC #997EFD #C9BAFE #E7E1FF

Accessibility & contrast

On white

3.11
#997EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#997EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EFD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EFD#FFFFFF#000000##000000
##997EFD1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#4C8FFA
Tritanopia (blue-blind)
#7E98B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997efd;
/* rgb */ color: rgb(153, 126, 253);
/* oklch */ color: oklch(67.6% 0.182 290.5);
Tailwind
colors: {
  custom: {
    50: '#bca4ff',
    500: '#997efd',
    950: '#000000',
  },
}
SCSS
$custom: #997efd;
$custom-light: #bca4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997efd",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 252.756,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67626,
    "c": 0.18163,
    "h": 290.5
  },
  "luminance": 0.28786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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