#997FF3#997FF3

#997FF3 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.2% C 0.167 H 291.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#997FF3
RGBrgb(153, 127, 243)
HSLhsl(253, 83%, 73%)
HSVhsv(253, 48%, 95%)
CMYKcmyk(37%, 47.7%, 0%, 4.7%)
CIE-LABlab(60.27, 36.01, -55.03)
CIE-LCHlch(60.27, 65.76, 303.20°)
OKLaboklab(67.21% 0.0615 -0.1555)
OKLCHoklch(67.21% 0.167 291.6)
XYZxyz(36.8996, 28.4212, 88.3183)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FF3 #D9F37F
analogous
#7F9FF3 #997FF3 #D37FF3
triadic
#997FF3 #F3997F #7FF399
tetradic
#997FF3 #F37F9F #D9F37F #7FF3D3
square
#997FF3 #F37F9F #D9F37F #7FF3D3
split-complementary
#997FF3 #F3D37F #9FF37F
monochromatic
#4315E2 #6C47EE #997FF3 #C6B7F8 #E9E3FC

Accessibility & contrast

On white

3.14
#997FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#997FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FF3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FF3#FFFFFF#000000##000000
##997FF31.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F7
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#8296AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997ff3;
/* rgb */ color: rgb(153, 127, 243);
/* oklch */ color: oklch(67.2% 0.167 291.6);
Tailwind
colors: {
  custom: {
    50: '#bba4f7',
    500: '#997ff3',
    950: '#000000',
  },
}
SCSS
$custom: #997ff3;
$custom-light: #bba4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#997ff3",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 253.448,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67205,
    "c": 0.1672,
    "h": 291.6
  },
  "luminance": 0.28422
}

Semantic roles & 50–950 ramp

primary
#997FF3
secondary
#EEF4D7
accent
#DF06AF
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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