#997DF3#997DF3

#997DF3 is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.9% C 0.170 H 292.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#997DF3
RGBrgb(153, 125, 243)
HSLhsl(254, 83%, 72%)
HSVhsv(254, 49%, 95%)
CMYKcmyk(37%, 48.6%, 0%, 4.7%)
CIE-LABlab(59.81, 37.15, -55.76)
CIE-LCHlch(59.81, 67.00, 303.68°)
OKLaboklab(66.86% 0.064 -0.1576)
OKLCHoklch(66.86% 0.17 292.1)
XYZxyz(36.6439, 27.9097, 88.2331)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DF3 #D7F37D
analogous
#7D9CF3 #997DF3 #D47DF3
triadic
#997DF3 #F3997D #7DF399
tetradic
#997DF3 #F37D9C #D7F37D #7DF3D4
square
#997DF3 #F37D9C #D7F37D #7DF3D4
split-complementary
#997DF3 #F3D47D #9CF37D
monochromatic
#4515E1 #6D45EE #997DF3 #C5B5F8 #E9E3FC

Accessibility & contrast

On white

3.19
#997DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#997DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DF3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DF3#FFFFFF#000000##000000
##997DF31.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F7
Deuteranopia (green-blind)
#548EF0
Tritanopia (blue-blind)
#8294AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997df3;
/* rgb */ color: rgb(153, 125, 243);
/* oklch */ color: oklch(66.9% 0.170 292.1);
Tailwind
colors: {
  custom: {
    50: '#bba3f8',
    500: '#997df3',
    950: '#000000',
  },
}
SCSS
$custom: #997df3;
$custom-light: #bba3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#997df3",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 254.237,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6686,
    "c": 0.17012,
    "h": 292.1
  },
  "luminance": 0.27911
}

Semantic roles & 50–950 ramp

primary
#997DF3
secondary
#EDF4D7
accent
#E006AC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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