#997BF3#997BF3

#997BF3 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.5% C 0.173 H 292.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#997BF3
RGBrgb(153, 123, 243)
HSLhsl(255, 83%, 72%)
HSVhsv(255, 49%, 95%)
CMYKcmyk(37%, 49.4%, 0%, 4.7%)
CIE-LABlab(59.35, 38.29, -56.49)
CIE-LCHlch(59.35, 68.24, 304.13°)
OKLaboklab(66.52% 0.0665 -0.1598)
OKLCHoklch(66.52% 0.173 292.6)
XYZxyz(36.3932, 27.4084, 88.1495)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BF3 #D5F37B
analogous
#7B99F3 #997BF3 #D57BF3
triadic
#997BF3 #F3997B #7BF399
tetradic
#997BF3 #F37B99 #D5F37B #7BF3D5
square
#997BF3 #F37B99 #D5F37B #7BF3D5
split-complementary
#997BF3 #F3D57B #99F37B
monochromatic
#4714DF #6E43EE #997BF3 #C4B3F8 #E9E3FC

Accessibility & contrast

On white

3.24
#997BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#997BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BF3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BF3#FFFFFF#000000##000000
##997BF31.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D91F7
Deuteranopia (green-blind)
#518DF0
Tritanopia (blue-blind)
#8293AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997bf3;
/* rgb */ color: rgb(153, 123, 243);
/* oklch */ color: oklch(66.5% 0.173 292.6);
Tailwind
colors: {
  custom: {
    50: '#bba2f8',
    500: '#997bf3',
    950: '#000000',
  },
}
SCSS
$custom: #997bf3;
$custom-light: #bba2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#997bf3",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 255,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66519,
    "c": 0.17305,
    "h": 292.6
  },
  "luminance": 0.27409
}

Semantic roles & 50–950 ramp

primary
#997BF3
secondary
#EDF4D6
accent
#E006A9
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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