#997EFC#997EFC

#997EFC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.180 H 290.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#997EFC
RGBrgb(153, 126, 252)
HSLhsl(253, 95%, 74%)
HSVhsv(253, 50%, 99%)
CMYKcmyk(39.3%, 50%, 0%, 1.2%)
CIE-LABlab(60.53, 38.98, -59.56)
CIE-LCHlch(60.53, 71.18, 303.20°)
OKLaboklab(67.57% 0.0635 -0.1688)
OKLCHoklch(67.57% 0.18 290.6)
XYZxyz(38.1636, 28.7212, 95.6096)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EFC #E1FC7E
analogous
#7EA2FC #997EFC #D87EFC
triadic
#997EFC #FC997E #7EFC99
tetradic
#997EFC #FC7EA2 #E1FC7E #7EFCD8
square
#997EFC #FC7EA2 #E1FC7E #7EFCD8
split-complementary
#997EFC #FCD87E #A2FC7E
monochromatic
#3A06F9 #6A42FB #997EFC #C8BAFD #E7E1FE

Accessibility & contrast

On white

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

On black

6.74
#997EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EFC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EFC#FFFFFF#000000##000000
##997EFC1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#4D8FF9
Tritanopia (blue-blind)
#7E98B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997efc;
/* rgb */ color: rgb(153, 126, 252);
/* oklch */ color: oklch(67.6% 0.180 290.6);
Tailwind
colors: {
  custom: {
    50: '#bca4fe',
    500: '#997efc',
    950: '#000000',
  },
}
SCSS
$custom: #997efc;
$custom-light: #bca4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#997efc",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 252.857,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67566,
    "c": 0.18034,
    "h": 290.6
  },
  "luminance": 0.28722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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