#997FFB#997FFB

#997FFB is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.178 H 290.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#997FFB
RGBrgb(153, 127, 251)
HSLhsl(253, 94%, 74%)
HSVhsv(253, 49%, 98%)
CMYKcmyk(39%, 49.4%, 0%, 1.6%)
CIE-LABlab(60.71, 38.14, -58.74)
CIE-LCHlch(60.71, 70.04, 303.00°)
OKLaboklab(67.68% 0.0622 -0.1664)
OKLCHoklch(67.68% 0.178 290.5)
XYZxyz(38.1341, 28.9150, 94.8200)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FFB #E1FB7F
analogous
#7FA3FB #997FFB #D77FFB
triadic
#997FFB #FB997F #7FFB99
tetradic
#997FFB #FB7FA3 #E1FB7F #7FFBD7
square
#997FFB #FB7FA3 #E1FB7F #7FFBD7
split-complementary
#997FFB #FBD77F #A3FB7F
monochromatic
#3A08F7 #6A44F9 #997FFB #C8BAFD #E7E1FE

Accessibility & contrast

On white

3.10
#997FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#997FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FFB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FFB#FFFFFF#000000##000000
##997FFB1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#5090F8
Tritanopia (blue-blind)
#7F98B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #997ffb;
/* rgb */ color: rgb(153, 127, 251);
/* oklch */ color: oklch(67.7% 0.178 290.5);
Tailwind
colors: {
  custom: {
    50: '#bba4fd',
    500: '#997ffb',
    950: '#000000',
  },
}
SCSS
$custom: #997ffb;
$custom-light: #bba4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#997ffb",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 252.581,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67676,
    "c": 0.17762,
    "h": 290.5
  },
  "luminance": 0.28916
}

Semantic roles & 50–950 ramp

primary
#997FFB
secondary
#EFF6D5
accent
#E600B5
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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