#997BF5#997BF5

#997BF5 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.6% C 0.176 H 292.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#997BF5
RGBrgb(153, 123, 245)
HSLhsl(255, 86%, 72%)
HSVhsv(255, 50%, 96%)
CMYKcmyk(37.6%, 49.8%, 0%, 3.9%)
CIE-LABlab(59.46, 38.82, -57.42)
CIE-LCHlch(59.46, 69.31, 304.06°)
OKLaboklab(66.64% 0.0666 -0.1625)
OKLCHoklch(66.64% 0.176 292.3)
XYZxyz(36.6969, 27.5299, 89.7488)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BF5 #D7F57B
analogous
#7B9AF5 #997BF5 #D67BF5
triadic
#997BF5 #F5997B #7BF599
tetradic
#997BF5 #F57B9A #D7F57B #7BF5D6
square
#997BF5 #F57B9A #D7F57B #7BF5D6
split-complementary
#997BF5 #F5D67B #9AF57B
monochromatic
#4511E4 #6D42F1 #997BF5 #C5B4F9 #E9E3FD

Accessibility & contrast

On white

3.23
#997BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#997BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BF5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BF5#FFFFFF#000000##000000
##997BF51.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#8294AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997bf5;
/* rgb */ color: rgb(153, 123, 245);
/* oklch */ color: oklch(66.6% 0.176 292.3);
Tailwind
colors: {
  custom: {
    50: '#bba2f9',
    500: '#997bf5',
    950: '#000000',
  },
}
SCSS
$custom: #997bf5;
$custom-light: #bba2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#997bf5",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 254.754,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66638,
    "c": 0.17563,
    "h": 292.3
  },
  "luminance": 0.27531
}

Semantic roles & 50–950 ramp

primary
#997BF5
secondary
#EDF5D6
accent
#E203AC
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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