#997EFB#997EFB

#997EFB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.5% C 0.179 H 290.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#997EFB
RGBrgb(153, 126, 251)
HSLhsl(253, 94%, 74%)
HSVhsv(253, 50%, 98%)
CMYKcmyk(39%, 49.8%, 0%, 1.6%)
CIE-LABlab(60.48, 38.71, -59.10)
CIE-LCHlch(60.48, 70.65, 303.22°)
OKLaboklab(67.51% 0.0634 -0.1674)
OKLCHoklch(67.51% 0.179 290.7)
XYZxyz(38.0056, 28.6580, 94.7772)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EFB #E0FB7E
analogous
#7EA2FB #997EFB #D87EFB
triadic
#997EFB #FB997E #7EFB99
tetradic
#997EFB #FB7EA2 #E0FB7E #7EFBD8
square
#997EFB #FB7EA2 #E0FB7E #7EFBD8
split-complementary
#997EFB #FBD87E #A2FB7E
monochromatic
#3B08F7 #6A43F9 #997EFB #C8B9FD #E8E1FE

Accessibility & contrast

On white

3.12
#997EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#997EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EFB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EFB#FFFFFF#000000##000000
##997EFB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#4E8FF8
Tritanopia (blue-blind)
#7F97B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997efb;
/* rgb */ color: rgb(153, 126, 251);
/* oklch */ color: oklch(67.5% 0.179 290.7);
Tailwind
colors: {
  custom: {
    50: '#bca4fd',
    500: '#997efb',
    950: '#000000',
  },
}
SCSS
$custom: #997efb;
$custom-light: #bca4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#997efb",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 252.96,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67506,
    "c": 0.17905,
    "h": 290.7
  },
  "luminance": 0.28659
}

Semantic roles & 50–950 ramp

primary
#997EFB
secondary
#EFF6D5
accent
#E600B4
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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