#997FF6#997FF6

#997FF6 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.171 H 291.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#997FF6
RGBrgb(153, 127, 246)
HSLhsl(253, 87%, 73%)
HSVhsv(253, 48%, 96%)
CMYKcmyk(37.8%, 48.4%, 0%, 3.5%)
CIE-LABlab(60.43, 36.81, -56.42)
CIE-LCHlch(60.43, 67.37, 303.12°)
OKLaboklab(67.38% 0.0618 -0.1596)
OKLCHoklch(67.38% 0.171 291.2)
XYZxyz(37.3563, 28.6039, 90.7238)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FF6 #DCF67F
analogous
#7FA0F6 #997FF6 #D47FF6
triadic
#997FF6 #F6997F #7FF699
tetradic
#997FF6 #F67FA0 #DCF67F #7FF6D4
square
#997FF6 #F67FA0 #DCF67F #7FF6D4
split-complementary
#997FF6 #F6D47F #A0F67F
monochromatic
#4010EA #6B46F2 #997FF6 #C7B8FA #E8E2FD

Accessibility & contrast

On white

3.12
#997FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#997FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FF6
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FF6#FFFFFF#000000##000000
##997FF61.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FA
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#8197AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997ff6;
/* rgb */ color: rgb(153, 127, 246);
/* oklch */ color: oklch(67.4% 0.171 291.2);
Tailwind
colors: {
  custom: {
    50: '#bba4fa',
    500: '#997ff6',
    950: '#000000',
  },
}
SCSS
$custom: #997ff6;
$custom-light: #bba4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997ff6",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 253.109,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6738,
    "c": 0.17111,
    "h": 291.2
  },
  "luminance": 0.28605
}

Semantic roles & 50–950 ramp

primary
#997FF6
secondary
#EEF5D6
accent
#E302B2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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