#997DF7#997DF7

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

Color values

HEX#997DF7
RGBrgb(153, 125, 247)
HSLhsl(254, 88%, 73%)
HSVhsv(254, 49%, 97%)
CMYKcmyk(38.1%, 49.4%, 0%, 3.1%)
CIE-LABlab(60.03, 38.21, -57.62)
CIE-LCHlch(60.03, 69.14, 303.55°)
OKLaboklab(67.1% 0.0643 -0.1631)
OKLCHoklch(67.1% 0.175 291.5)
XYZxyz(37.2545, 28.1540, 91.4491)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DF7 #DBF77D
analogous
#7D9EF7 #997DF7 #D67DF7
triadic
#997DF7 #F7997D #7DF799
tetradic
#997DF7 #F77D9E #DBF77D #7DF7D6
square
#997DF7 #F77D9E #DBF77D #7DF7D6
split-complementary
#997DF7 #F7D67D #9EF77D
monochromatic
#410EEB #6C43F3 #997DF7 #C6B7FB #E8E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997DF7#FFFFFF#000000##000000
##997DF71.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)
#4D93FB
Deuteranopia (green-blind)
#518EF4
Tritanopia (blue-blind)
#8196AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997df7;
/* rgb */ color: rgb(153, 125, 247);
/* oklch */ color: oklch(67.1% 0.175 291.5);
Tailwind
colors: {
  custom: {
    50: '#bba3fa',
    500: '#997df7',
    950: '#000000',
  },
}
SCSS
$custom: #997df7;
$custom-light: #bba3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997df7",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 253.77,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67097,
    "c": 0.17532,
    "h": 291.5
  },
  "luminance": 0.28155
}

Semantic roles & 50–950 ramp

primary
#997DF7
secondary
#EEF5D6
accent
#E500B1
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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