#997AEF#997AEF

#997AEF is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.1% C 0.169 H 293.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#997AEF
RGBrgb(153, 122, 239)
HSLhsl(256, 79%, 71%)
HSVhsv(256, 49%, 94%)
CMYKcmyk(36%, 49%, 0%, 6.3%)
CIE-LABlab(58.90, 37.81, -54.98)
CIE-LCHlch(58.90, 66.73, 304.51°)
OKLaboklab(66.11% 0.0673 -0.1554)
OKLCHoklch(66.11% 0.169 293.4)
XYZxyz(35.6723, 26.9226, 84.9617)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AEF #D0EF7A
analogous
#7A95EF #997AEF #D37AEF
triadic
#997AEF #EF997A #7AEF99
tetradic
#997AEF #EF7A95 #D0EF7A #7AEFD3
square
#997AEF #EF7A95 #D0EF7A #7AEFD3
split-complementary
#997AEF #EFD37A #95EF7A
monochromatic
#4B1AD5 #6F43E8 #997AEF #C3B1F6 #EAE4FC

Accessibility & contrast

On white

3.29
#997AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#997AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AEF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AEF#FFFFFF#000000##000000
##997AEF1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#548CEC
Tritanopia (blue-blind)
#8491A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997aef;
/* rgb */ color: rgb(153, 122, 239);
/* oklch */ color: oklch(66.1% 0.169 293.4);
Tailwind
colors: {
  custom: {
    50: '#bba1f5',
    500: '#997aef',
    950: '#000000',
  },
}
SCSS
$custom: #997aef;
$custom-light: #bba1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997aef",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 255.897,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66113,
    "c": 0.16935,
    "h": 293.4
  },
  "luminance": 0.26923
}

Semantic roles & 50–950 ramp

primary
#997AEF
secondary
#EAF2D3
accent
#DB0BA4
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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