#997AEC#997AEC

#997AEC is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.9% C 0.165 H 293.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#997AEC
RGBrgb(153, 122, 236)
HSLhsl(256, 75%, 70%)
HSVhsv(256, 48%, 93%)
CMYKcmyk(35.2%, 48.3%, 0%, 7.5%)
CIE-LABlab(58.74, 37.02, -53.58)
CIE-LCHlch(58.74, 65.13, 304.64°)
OKLaboklab(65.94% 0.0671 -0.1513)
OKLCHoklch(65.94% 0.165 293.9)
XYZxyz(35.2328, 26.7468, 82.6470)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AEC #CDEC7A
analogous
#7A94EC #997AEC #D27AEC
triadic
#997AEC #EC997A #7AEC99
tetradic
#997AEC #EC7A94 #CDEC7A #7AECD2
square
#997AEC #EC7A94 #CDEC7A #7AECD2
split-complementary
#997AEC #ECD27A #94EC7A
monochromatic
#4E1DCE #7044E4 #997AEC #C2B0F4 #EAE4FB

Accessibility & contrast

On white

3.31
#997AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#997AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AEC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AEC#FFFFFF#000000##000000
##997AEC1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#568BE9
Tritanopia (blue-blind)
#8590A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997aec;
/* rgb */ color: rgb(153, 122, 236);
/* oklch */ color: oklch(65.9% 0.165 293.9);
Tailwind
colors: {
  custom: {
    50: '#baa1f3',
    500: '#997aec',
    950: '#000000',
  },
}
SCSS
$custom: #997aec;
$custom-light: #baa1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#997aec",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 256.316,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65938,
    "c": 0.16546,
    "h": 293.9
  },
  "luminance": 0.26748
}

Semantic roles & 50–950 ramp

primary
#997AEC
secondary
#E8F1D1
accent
#D70EA1
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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