#997FFD#997FFD

#997FFD is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.8% C 0.180 H 290.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#997FFD
RGBrgb(153, 127, 253)
HSLhsl(252, 97%, 75%)
HSVhsv(252, 50%, 99%)
CMYKcmyk(39.5%, 49.8%, 0%, 0.8%)
CIE-LABlab(60.82, 38.68, -59.66)
CIE-LCHlch(60.82, 71.10, 302.96°)
OKLaboklab(67.8% 0.0624 -0.1691)
OKLCHoklch(67.8% 0.18 290.2)
XYZxyz(38.4510, 29.0417, 96.4892)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FFD #E3FD7F
analogous
#7FA4FD #997FFD #D87FFD
triadic
#997FFD #FD997F #7FFD99
tetradic
#997FFD #FD7FA4 #E3FD7F #7FFDD8
square
#997FFD #FD7FA4 #E3FD7F #7FFDD8
split-complementary
#997FFD #FDD87F #A4FD7F
monochromatic
#3906FB #6943FC #997FFD #C9BBFE #E7E1FF

Accessibility & contrast

On white

3.08
#997FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#997FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FFD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FFD#FFFFFF#000000##000000
##997FFD1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#7E99B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #997ffd;
/* rgb */ color: rgb(153, 127, 253);
/* oklch */ color: oklch(67.8% 0.180 290.2);
Tailwind
colors: {
  custom: {
    50: '#bca4ff',
    500: '#997ffd',
    950: '#000000',
  },
}
SCSS
$custom: #997ffd;
$custom-light: #bca4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997ffd",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 252.381,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67796,
    "c": 0.18021,
    "h": 290.2
  },
  "luminance": 0.29043
}

Semantic roles & 50–950 ramp

primary
#997FFD
secondary
#F0F7D4
accent
#E600B6
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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