#997DEF#997DEF

#997DEF is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.6% C 0.165 H 292.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#997DEF
RGBrgb(153, 125, 239)
HSLhsl(255, 78%, 71%)
HSVhsv(255, 48%, 94%)
CMYKcmyk(36%, 47.7%, 0%, 6.3%)
CIE-LABlab(59.59, 36.10, -53.89)
CIE-LCHlch(59.59, 64.86, 303.82°)
OKLaboklab(66.63% 0.0636 -0.1522)
OKLCHoklch(66.63% 0.165 292.7)
XYZxyz(36.0464, 27.6707, 85.0864)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DEF #D3EF7D
analogous
#7D9AEF #997DEF #D27DEF
triadic
#997DEF #EF997D #7DEF99
tetradic
#997DEF #EF7D9A #D3EF7D #7DEFD2
square
#997DEF #EF7D9A #D3EF7D #7DEFD2
split-complementary
#997DEF #EFD27D #9AEF7D
monochromatic
#491AD7 #6E47E8 #997DEF #C4B3F6 #EAE4FC

Accessibility & contrast

On white

3.21
#997DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#997DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DEF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DEF#FFFFFF#000000##000000
##997DEF1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#588DEC
Tritanopia (blue-blind)
#8493AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997def;
/* rgb */ color: rgb(153, 125, 239);
/* oklch */ color: oklch(66.6% 0.165 292.7);
Tailwind
colors: {
  custom: {
    50: '#bba3f5',
    500: '#997def',
    950: '#000000',
  },
}
SCSS
$custom: #997def;
$custom-light: #bba3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997def",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 254.737,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66628,
    "c": 0.16491,
    "h": 292.7
  },
  "luminance": 0.27672
}

Semantic roles & 50–950 ramp

primary
#997DEF
secondary
#EBF3D5
accent
#DA0BA7
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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