#997CF5#997CF5

#997CF5 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.8% C 0.174 H 292.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#997CF5
RGBrgb(153, 124, 245)
HSLhsl(254, 86%, 72%)
HSVhsv(254, 49%, 96%)
CMYKcmyk(37.6%, 49.4%, 0%, 3.9%)
CIE-LABlab(59.69, 38.25, -57.05)
CIE-LCHlch(59.69, 68.69, 303.84°)
OKLaboklab(66.81% 0.0654 -0.1614)
OKLCHoklch(66.81% 0.174 292)
XYZxyz(36.8216, 27.7793, 89.7904)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CF5 #D8F57C
analogous
#7C9CF5 #997CF5 #D57CF5
triadic
#997CF5 #F5997C #7CF599
tetradic
#997CF5 #F57C9C #D8F57C #7CF5D5
square
#997CF5 #F57C9C #D8F57C #7CF5D5
split-complementary
#997CF5 #F5D57C #9CF57C
monochromatic
#4411E5 #6D43F1 #997CF5 #C5B5F9 #E9E3FD

Accessibility & contrast

On white

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

On black

6.56
#997CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CF5
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CF5#FFFFFF#000000##000000
##997CF51.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#518DF2
Tritanopia (blue-blind)
#8194AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997cf5;
/* rgb */ color: rgb(153, 124, 245);
/* oklch */ color: oklch(66.8% 0.174 292.0);
Tailwind
colors: {
  custom: {
    50: '#bba2f9',
    500: '#997cf5',
    950: '#000000',
  },
}
SCSS
$custom: #997cf5;
$custom-light: #bba2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#997cf5",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 254.38,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66808,
    "c": 0.17418,
    "h": 292
  },
  "luminance": 0.2778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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