#997CF6#997CF6

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

Color values

HEX#997CF6
RGBrgb(153, 124, 246)
HSLhsl(254, 87%, 73%)
HSVhsv(254, 50%, 96%)
CMYKcmyk(37.8%, 49.6%, 0%, 3.5%)
CIE-LABlab(59.74, 38.51, -57.52)
CIE-LCHlch(59.74, 69.22, 303.81°)
OKLaboklab(66.87% 0.0655 -0.1628)
OKLCHoklch(66.87% 0.175 291.9)
XYZxyz(36.9746, 27.8405, 90.5966)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CF6 #D9F67C
analogous
#7C9CF6 #997CF6 #D67CF6
triadic
#997CF6 #F6997C #7CF699
tetradic
#997CF6 #F67C9C #D9F67C #7CF6D6
square
#997CF6 #F67C9C #D9F67C #7CF6D6
split-complementary
#997CF6 #F6D67C #9CF67C
monochromatic
#4310E8 #6C43F2 #997CF6 #C6B5FA #E9E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997CF6#FFFFFF#000000##000000
##997CF61.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)
#4C92FA
Deuteranopia (green-blind)
#508EF3
Tritanopia (blue-blind)
#8195AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997cf6;
/* rgb */ color: rgb(153, 124, 246);
/* oklch */ color: oklch(66.9% 0.175 291.9);
Tailwind
colors: {
  custom: {
    50: '#bba2fa',
    500: '#997cf6',
    950: '#000000',
  },
}
SCSS
$custom: #997cf6;
$custom-light: #bba2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997cf6",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 254.262,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66867,
    "c": 0.17547,
    "h": 291.9
  },
  "luminance": 0.27841
}

Semantic roles & 50–950 ramp

primary
#997CF6
secondary
#EEF5D6
accent
#E402AE
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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