#997EC0#997EC0

#997EC0 is a light, moderate violet. Relative luminance 0.255; OKLCH L 64.4% C 0.101 H 302.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#997EC0
RGBrgb(153, 126, 192)
HSLhsl(265, 34%, 62%)
HSVhsv(265, 34%, 75%)
CMYKcmyk(20.3%, 34.4%, 0%, 24.7%)
CIE-LABlab(57.56, 23.78, -30.69)
CIE-LCHlch(57.56, 38.83, 307.77°)
OKLaboklab(64.35% 0.054 -0.0849)
OKLCHoklch(64.35% 0.101 302.5)
XYZxyz(30.1102, 25.4998, 53.1946)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EC0 #A5C07E
analogous
#7E84C0 #997EC0 #BA7EC0
triadic
#997EC0 #C0997E #7EC099
tetradic
#997EC0 #C07E84 #A5C07E #7EC0BA
square
#997EC0 #C07E84 #A5C07E #7EC0BA
split-complementary
#997EC0 #C0BA7E #84C07E
monochromatic
#5C4083 #7855AC #997EC0 #BAA7D4 #DAD0E8

Accessibility & contrast

On white

3.44
#997EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#997EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EC0
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EC0#FFFFFF#000000##000000
##997EC01.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8AC3
Deuteranopia (green-blind)
#758ABE
Tritanopia (blue-blind)
#938896
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997ec0;
/* rgb */ color: rgb(153, 126, 192);
/* oklch */ color: oklch(64.4% 0.101 302.5);
Tailwind
colors: {
  custom: {
    50: '#b8a3d3',
    500: '#997ec0',
    950: '#000000',
  },
}
SCSS
$custom: #997ec0;
$custom-light: #b8a3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#997ec0",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 264.545,
    "s": 34.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64351,
    "c": 0.10058,
    "h": 302.5
  },
  "luminance": 0.255
}

Semantic roles & 50–950 ramp

primary
#997EC0
secondary
#CFD9C1
accent
#AD387D
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #997EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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