#997EE7#997EE7

#997EE7 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.3% C 0.153 H 293.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#997EE7
RGBrgb(153, 126, 231)
HSLhsl(255, 69%, 70%)
HSVhsv(255, 45%, 91%)
CMYKcmyk(33.8%, 45.5%, 0%, 9.4%)
CIE-LABlab(59.40, 33.44, -49.75)
CIE-LCHlch(59.40, 59.94, 303.91°)
OKLaboklab(66.35% 0.0613 -0.1401)
OKLCHoklch(66.35% 0.153 293.6)
XYZxyz(35.0178, 27.4629, 79.0417)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EE7 #CCE77E
analogous
#7E97E7 #997EE7 #CE7EE7
triadic
#997EE7 #E7997E #7EE799
tetradic
#997EE7 #E77E97 #CCE77E #7EE7CE
square
#997EE7 #E77E97 #CCE77E #7EE7CE
split-complementary
#997EE7 #E7CE7E #97E77E
monochromatic
#4E25C6 #704ADD #997EE7 #C2B2F1 #EBE5FA

Accessibility & contrast

On white

3.23
#997EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#997EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EE7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EE7#FFFFFF#000000##000000
##997EE71.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EB
Deuteranopia (green-blind)
#5F8DE4
Tritanopia (blue-blind)
#8792A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997ee7;
/* rgb */ color: rgb(153, 126, 231);
/* oklch */ color: oklch(66.3% 0.153 293.6);
Tailwind
colors: {
  custom: {
    50: '#baa4ef',
    500: '#997ee7',
    950: '#000000',
  },
}
SCSS
$custom: #997ee7;
$custom-light: #baa4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#997ee7",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 255.429,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.66348,
    "c": 0.1529,
    "h": 293.6
  },
  "luminance": 0.27464
}

Semantic roles & 50–950 ramp

primary
#997EE7
secondary
#E8EFD2
accent
#D115A0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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