#997BFA#997BFA

#997BFA is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.9% C 0.182 H 291.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#997BFA
RGBrgb(153, 123, 250)
HSLhsl(254, 93%, 73%)
HSVhsv(254, 51%, 98%)
CMYKcmyk(38.8%, 50.8%, 0%, 2%)
CIE-LABlab(59.74, 40.14, -59.73)
CIE-LCHlch(59.74, 71.96, 303.91°)
OKLaboklab(66.94% 0.067 -0.1693)
OKLCHoklch(66.94% 0.182 291.6)
XYZxyz(37.4705, 27.8393, 93.8232)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BFA #DCFA7B
analogous
#7B9CFA #997BFA #D87BFA
triadic
#997BFA #FA997B #7BFA99
tetradic
#997BFA #FA7B9C #DCFA7B #7BFAD8
square
#997BFA #FA7B9C #DCFA7B #7BFAD8
split-complementary
#997BFA #FAD87B #9CFA7B
monochromatic
#4009F1 #6B40F8 #997BFA #C7B6FC #E8E2FE

Accessibility & contrast

On white

3.20
#997BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#997BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BFA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BFA#FFFFFF#000000##000000
##997BFA1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FE
Deuteranopia (green-blind)
#4B8DF7
Tritanopia (blue-blind)
#7F95AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997bfa;
/* rgb */ color: rgb(153, 123, 250);
/* oklch */ color: oklch(66.9% 0.182 291.6);
Tailwind
colors: {
  custom: {
    50: '#bca2fd',
    500: '#997bfa',
    950: '#000000',
  },
}
SCSS
$custom: #997bfa;
$custom-light: #bca2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#997bfa",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 254.173,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66939,
    "c": 0.18205,
    "h": 291.6
  },
  "luminance": 0.2784
}

Semantic roles & 50–950 ramp

primary
#997BFA
secondary
#EEF6D5
accent
#E600AF
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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