#997BF0#997BF0

#997BF0 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.3% C 0.169 H 293.0°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#997BF0
RGBrgb(153, 123, 240)
HSLhsl(255, 80%, 71%)
HSVhsv(255, 49%, 94%)
CMYKcmyk(36.3%, 48.7%, 0%, 5.9%)
CIE-LABlab(59.19, 37.50, -55.09)
CIE-LCHlch(59.19, 66.64, 304.24°)
OKLaboklab(66.34% 0.0662 -0.1557)
OKLCHoklch(66.34% 0.169 293)
XYZxyz(35.9439, 27.2287, 85.7831)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BF0 #D2F07B
analogous
#7B97F0 #997BF0 #D47BF0
triadic
#997BF0 #F0997B #7BF099
tetradic
#997BF0 #F07B97 #D2F07B #7BF0D4
square
#997BF0 #F07B97 #D2F07B #7BF0D4
split-complementary
#997BF0 #F0D47B #97F07B
monochromatic
#4A19D8 #6F44EA #997BF0 #C3B2F6 #EAE4FC

Accessibility & contrast

On white

3.26
#997BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#997BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BF0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BF0#FFFFFF#000000##000000
##997BF01.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F90F4
Deuteranopia (green-blind)
#548CED
Tritanopia (blue-blind)
#8492AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997bf0;
/* rgb */ color: rgb(153, 123, 240);
/* oklch */ color: oklch(66.3% 0.169 293.0);
Tailwind
colors: {
  custom: {
    50: '#bba2f5',
    500: '#997bf0',
    950: '#000000',
  },
}
SCSS
$custom: #997bf0;
$custom-light: #bba2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997bf0",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 255.385,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66342,
    "c": 0.16916,
    "h": 293
  },
  "luminance": 0.27229
}

Semantic roles & 50–950 ramp

primary
#997BF0
secondary
#EBF3D4
accent
#DC0AA6
background
#FBFAFF
surface
#F7F3FE
border
#D0CDD6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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