#997DEC#997DEC

#997DEC is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.5% C 0.161 H 293.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#997DEC
RGBrgb(153, 125, 236)
HSLhsl(255, 74%, 71%)
HSVhsv(255, 47%, 93%)
CMYKcmyk(35.2%, 47%, 0%, 7.5%)
CIE-LABlab(59.43, 35.31, -52.48)
CIE-LCHlch(59.43, 63.26, 303.94°)
OKLaboklab(66.46% 0.0632 -0.148)
OKLCHoklch(66.46% 0.161 293.1)
XYZxyz(35.6069, 27.4949, 82.7717)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DEC #D0EC7D
analogous
#7D98EC #997DEC #D07DEC
triadic
#997DEC #EC997D #7DEC99
tetradic
#997DEC #EC7D98 #D0EC7D #7DECD0
square
#997DEC #EC7D98 #D0EC7D #7DECD0
split-complementary
#997DEC #ECD07D #98EC7D
monochromatic
#4B1ED0 #6F48E4 #997DEC #C3B2F4 #EAE4FB

Accessibility & contrast

On white

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

On black

6.50
#997DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DEC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DEC#FFFFFF#000000##000000
##997DEC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690F0
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#8593A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997dec;
/* rgb */ color: rgb(153, 125, 236);
/* oklch */ color: oklch(66.5% 0.161 293.1);
Tailwind
colors: {
  custom: {
    50: '#baa3f3',
    500: '#997dec',
    950: '#000000',
  },
}
SCSS
$custom: #997dec;
$custom-light: #baa3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#997dec",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 255.135,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66455,
    "c": 0.16099,
    "h": 293.1
  },
  "luminance": 0.27496
}

Semantic roles & 50–950 ramp

primary
#997DEC
secondary
#EAF1D3
accent
#D70FA4
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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