#997FFE#997FFE

#997FFE is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.9% C 0.181 H 290.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#997FFE
RGBrgb(153, 127, 254)
HSLhsl(252, 98%, 75%)
HSVhsv(252, 50%, 100%)
CMYKcmyk(39.8%, 50%, 0%, 0.4%)
CIE-LABlab(60.87, 38.95, -60.12)
CIE-LCHlch(60.87, 71.63, 302.94°)
OKLaboklab(67.86% 0.0625 -0.1704)
OKLCHoklch(67.86% 0.182 290.1)
XYZxyz(38.6107, 29.1056, 97.3303)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FFE #E4FE7F
analogous
#7FA5FE #997FFE #D87FFE
triadic
#997FFE #FE997F #7FFE99
tetradic
#997FFE #FE7FA5 #E4FE7F #7FFED8
square
#997FFE #FE7FA5 #E4FE7F #7FFED8
split-complementary
#997FFE #FED87F #A5FE7F
monochromatic
#3806FD #6942FE #997FFE #C9BCFE #E7E1FF

Accessibility & contrast

On white

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

On black

6.82
#997FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FFE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FFE#FFFFFF#000000##000000
##997FFE1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#4D90FB
Tritanopia (blue-blind)
#7D99B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #997ffe;
/* rgb */ color: rgb(153, 127, 254);
/* oklch */ color: oklch(67.9% 0.181 290.1);
Tailwind
colors: {
  custom: {
    50: '#bca4ff',
    500: '#997ffe',
    950: '#000000',
  },
}
SCSS
$custom: #997ffe;
$custom-light: #bca4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997ffe",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 252.283,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67856,
    "c": 0.1815,
    "h": 290.1
  },
  "luminance": 0.29107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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