#997FDA#997FDA

#997FDA is a light, vivid violet. Relative luminance 0.270; OKLCH L 65.8% C 0.134 H 295.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#997FDA
RGBrgb(153, 127, 218)
HSLhsl(257, 55%, 68%)
HSVhsv(257, 42%, 85%)
CMYKcmyk(29.8%, 41.7%, 0%, 14.5%)
CIE-LABlab(58.99, 29.54, -43.14)
CIE-LCHlch(58.99, 52.29, 304.40°)
OKLaboklab(65.82% 0.058 -0.1208)
OKLCHoklch(65.82% 0.134 295.6)
XYZxyz(33.3780, 27.0126, 69.7715)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FDA #C0DA7F
analogous
#7F92DA #997FDA #C77FDA
triadic
#997FDA #DA997F #7FDA99
tetradic
#997FDA #DA7F92 #C0DA7F #7FDAC7
square
#997FDA #DA7F92 #C0DA7F #7FDAC7
split-complementary
#997FDA #DAC77F #92DA7F
monochromatic
#5532AD #7350CC #997FDA #BFAEE8 #E5DEF5

Accessibility & contrast

On white

3.28
#997FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#997FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FDA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FDA#FFFFFF#000000##000000
##997FDA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDD
Deuteranopia (green-blind)
#688DD8
Tritanopia (blue-blind)
#8B8FA2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997fda;
/* rgb */ color: rgb(153, 127, 218);
/* oklch */ color: oklch(65.8% 0.134 295.6);
Tailwind
colors: {
  custom: {
    50: '#b9a4e6',
    500: '#997fda',
    950: '#000000',
  },
}
SCSS
$custom: #997fda;
$custom-light: #b9a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#997fda",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 257.143,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65823,
    "c": 0.13402,
    "h": 295.6
  },
  "luminance": 0.27013
}

Semantic roles & 50–950 ramp

primary
#997FDA
secondary
#E0E9CC
accent
#C32395
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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