#997BF4#997BF4

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

Color values

HEX#997BF4
RGBrgb(153, 123, 244)
HSLhsl(255, 85%, 72%)
HSVhsv(255, 50%, 96%)
CMYKcmyk(37.3%, 49.6%, 0%, 4.3%)
CIE-LABlab(59.41, 38.55, -56.95)
CIE-LCHlch(59.41, 68.77, 304.10°)
OKLaboklab(66.58% 0.0665 -0.1611)
OKLCHoklch(66.58% 0.174 292.4)
XYZxyz(36.5446, 27.4690, 88.9470)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BF4 #D6F47B
analogous
#7B9AF4 #997BF4 #D67BF4
triadic
#997BF4 #F4997B #7BF499
tetradic
#997BF4 #F47B9A #D6F47B #7BF4D6
square
#997BF4 #F47B9A #D6F47B #7BF4D6
split-complementary
#997BF4 #F4D67B #9AF47B
monochromatic
#4613E2 #6D43EF #997BF4 #C5B3F9 #E9E3FD

Accessibility & contrast

On white

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

On black

6.49
#997BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BF4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BF4#FFFFFF#000000##000000
##997BF41.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F8
Deuteranopia (green-blind)
#508DF1
Tritanopia (blue-blind)
#8293AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997bf4;
/* rgb */ color: rgb(153, 123, 244);
/* oklch */ color: oklch(66.6% 0.174 292.4);
Tailwind
colors: {
  custom: {
    50: '#bba2f8',
    500: '#997bf4',
    950: '#000000',
  },
}
SCSS
$custom: #997bf4;
$custom-light: #bba2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#997bf4",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 254.876,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.17434,
    "h": 292.4
  },
  "luminance": 0.2747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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