#997FFC#997FFC

#997FFC is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.7% C 0.179 H 290.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#997FFC
RGBrgb(153, 127, 252)
HSLhsl(252, 95%, 74%)
HSVhsv(252, 50%, 99%)
CMYKcmyk(39.3%, 49.6%, 0%, 1.2%)
CIE-LABlab(60.76, 38.41, -59.20)
CIE-LCHlch(60.76, 70.57, 302.98°)
OKLaboklab(67.74% 0.0623 -0.1677)
OKLCHoklch(67.74% 0.179 290.4)
XYZxyz(38.2921, 28.9782, 95.6524)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FFC #E2FC7F
analogous
#7FA4FC #997FFC #D87FFC
triadic
#997FFC #FC997F #7FFC99
tetradic
#997FFC #FC7FA4 #E2FC7F #7FFCD8
square
#997FFC #FC7FA4 #E2FC7F #7FFCD8
split-complementary
#997FFC #FCD87F #A4FC7F
monochromatic
#3A07F9 #6943FB #997FFC #C9BBFD #E7E1FE

Accessibility & contrast

On white

3.09
#997FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#997FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FFC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FFC#FFFFFF#000000##000000
##997FFC1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#4F90F9
Tritanopia (blue-blind)
#7E98B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #997ffc;
/* rgb */ color: rgb(153, 127, 252);
/* oklch */ color: oklch(67.7% 0.179 290.4);
Tailwind
colors: {
  custom: {
    50: '#bca4fe',
    500: '#997ffc',
    950: '#000000',
  },
}
SCSS
$custom: #997ffc;
$custom-light: #bca4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#997ffc",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 252.48,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67736,
    "c": 0.17891,
    "h": 290.4
  },
  "luminance": 0.28979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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