#997EFA#997EFA

#997EFA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.178 H 290.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#997EFA
RGBrgb(153, 126, 250)
HSLhsl(253, 93%, 74%)
HSVhsv(253, 50%, 98%)
CMYKcmyk(38.8%, 49.6%, 0%, 2%)
CIE-LABlab(60.42, 38.44, -58.64)
CIE-LCHlch(60.42, 70.12, 303.25°)
OKLaboklab(67.45% 0.0634 -0.1661)
OKLCHoklch(67.45% 0.178 290.9)
XYZxyz(37.8484, 28.5951, 93.9492)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EFA #DFFA7E
analogous
#7EA1FA #997EFA #D77EFA
triadic
#997EFA #FA997E #7EFA99
tetradic
#997EFA #FA7EA1 #DFFA7E #7EFAD7
square
#997EFA #FA7EA1 #DFFA7E #7EFAD7
split-complementary
#997EFA #FAD77E #A1FA7E
monochromatic
#3D09F4 #6A43F8 #997EFA #C8B9FC #E8E2FE

Accessibility & contrast

On white

3.13
#997EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#997EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EFA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EFA#FFFFFF#000000##000000
##997EFA1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#4F8FF7
Tritanopia (blue-blind)
#7F97B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997efa;
/* rgb */ color: rgb(153, 126, 250);
/* oklch */ color: oklch(67.4% 0.178 290.9);
Tailwind
colors: {
  custom: {
    50: '#bba4fc',
    500: '#997efa',
    950: '#000000',
  },
}
SCSS
$custom: #997efa;
$custom-light: #bba4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#997efa",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 253.065,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67446,
    "c": 0.17776,
    "h": 290.9
  },
  "luminance": 0.28596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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