#997DFF#997DFF

#997DFF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.186 H 290.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#997DFF
RGBrgb(153, 125, 255)
HSLhsl(253, 100%, 75%)
HSVhsv(253, 51%, 100%)
CMYKcmyk(40%, 51%, 0%, 0%)
CIE-LABlab(60.48, 40.35, -61.30)
CIE-LCHlch(60.48, 73.39, 303.35°)
OKLaboklab(67.58% 0.0649 -0.1739)
OKLCHoklch(67.58% 0.186 290.5)
XYZxyz(38.5155, 28.6584, 98.0907)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DFF #E3FF7D
analogous
#7DA2FF #997DFF #DA7DFF
triadic
#997DFF #FF997D #7DFF99
tetradic
#997DFF #FF7DA2 #E3FF7D #7DFFDA
square
#997DFF #FF7DA2 #E3FF7D #7DFFDA
split-complementary
#997DFF #FFDA7D #A2FF7D
monochromatic
#3903FF #6940FF #997DFF #C9BAFF #E7E0FF

Accessibility & contrast

On white

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

On black

6.73
#997DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DFF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DFF#FFFFFF#000000##000000
##997DFF1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#488FFC
Tritanopia (blue-blind)
#7D98B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997dff;
/* rgb */ color: rgb(153, 125, 255);
/* oklch */ color: oklch(67.6% 0.186 290.5);
Tailwind
colors: {
  custom: {
    50: '#bca3ff',
    500: '#997dff',
    950: '#000000',
  },
}
SCSS
$custom: #997dff;
$custom-light: #bca3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997dff",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 252.923,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67579,
    "c": 0.18562,
    "h": 290.5
  },
  "luminance": 0.2866
}

Semantic roles & 50–950 ramp

primary
#997DFF
secondary
#F0F7D4
accent
#E600B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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