#997BF1#997BF1

#997BF1 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.4% C 0.170 H 292.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#997BF1
RGBrgb(153, 123, 241)
HSLhsl(255, 81%, 71%)
HSVhsv(255, 49%, 95%)
CMYKcmyk(36.5%, 49%, 0%, 5.5%)
CIE-LABlab(59.24, 37.76, -55.56)
CIE-LCHlch(59.24, 67.17, 304.21°)
OKLaboklab(66.4% 0.0663 -0.157)
OKLCHoklch(66.4% 0.17 292.9)
XYZxyz(36.0928, 27.2883, 86.5676)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BF1 #D3F17B
analogous
#7B98F1 #997BF1 #D47BF1
triadic
#997BF1 #F1997B #7BF199
tetradic
#997BF1 #F17B98 #D3F17B #7BF1D4
square
#997BF1 #F17B98 #D3F17B #7BF1D4
split-complementary
#997BF1 #F1D47B #98F17B
monochromatic
#4917DA #6E44EB #997BF1 #C4B2F7 #EAE3FC

Accessibility & contrast

On white

3.25
#997BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#997BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BF1
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BF1#FFFFFF#000000##000000
##997BF11.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F5
Deuteranopia (green-blind)
#538CEE
Tritanopia (blue-blind)
#8392AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997bf1;
/* rgb */ color: rgb(153, 123, 241);
/* oklch */ color: oklch(66.4% 0.170 292.9);
Tailwind
colors: {
  custom: {
    50: '#bba2f6',
    500: '#997bf1',
    950: '#000000',
  },
}
SCSS
$custom: #997bf1;
$custom-light: #bba2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#997bf1",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 255.254,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66401,
    "c": 0.17046,
    "h": 292.9
  },
  "luminance": 0.27289
}

Semantic roles & 50–950 ramp

primary
#997BF1
secondary
#EBF3D5
accent
#DD08A7
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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