#997EC2#997EC2

#997EC2 is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.4% C 0.103 H 301.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#997EC2
RGBrgb(153, 126, 194)
HSLhsl(264, 36%, 63%)
HSVhsv(264, 35%, 76%)
CMYKcmyk(21.1%, 35.1%, 0%, 23.9%)
CIE-LABlab(57.64, 24.25, -31.70)
CIE-LCHlch(57.64, 39.91, 307.42°)
OKLaboklab(64.44% 0.0545 -0.0877)
OKLCHoklch(64.44% 0.103 301.8)
XYZxyz(30.3333, 25.5890, 54.3696)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EC2 #A7C27E
analogous
#7E85C2 #997EC2 #BB7EC2
triadic
#997EC2 #C2997E #7EC299
tetradic
#997EC2 #C27E85 #A7C27E #7EC2BB
square
#997EC2 #C27E85 #A7C27E #7EC2BB
split-complementary
#997EC2 #C2BB7E #85C27E
monochromatic
#5C3F86 #7854AE #997EC2 #BAA8D6 #DBD1E9

Accessibility & contrast

On white

3.43
#997EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#997EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EC2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EC2#FFFFFF#000000##000000
##997EC21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8AC5
Deuteranopia (green-blind)
#748AC0
Tritanopia (blue-blind)
#928997
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997ec2;
/* rgb */ color: rgb(153, 126, 194);
/* oklch */ color: oklch(64.4% 0.103 301.8);
Tailwind
colors: {
  custom: {
    50: '#b8a3d4',
    500: '#997ec2',
    950: '#000000',
  },
}
SCSS
$custom: #997ec2;
$custom-light: #b8a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#997ec2",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 263.824,
    "s": 35.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64444,
    "c": 0.10327,
    "h": 301.8
  },
  "luminance": 0.25589
}

Semantic roles & 50–950 ramp

primary
#997EC2
secondary
#D0DAC2
accent
#AF377F
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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