#997CF7#997CF7

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

Color values

HEX#997CF7
RGBrgb(153, 124, 247)
HSLhsl(254, 88%, 73%)
HSVhsv(254, 50%, 97%)
CMYKcmyk(38.1%, 49.8%, 0%, 3.1%)
CIE-LABlab(59.80, 38.78, -57.98)
CIE-LCHlch(59.80, 69.75, 303.78°)
OKLaboklab(66.93% 0.0656 -0.1642)
OKLCHoklch(66.93% 0.177 291.8)
XYZxyz(37.1285, 27.9020, 91.4071)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CF7 #DAF77C
analogous
#7C9DF7 #997CF7 #D67CF7
triadic
#997CF7 #F7997C #7CF799
tetradic
#997CF7 #F77C9D #DAF77C #7CF7D6
square
#997CF7 #F77C9D #DAF77C #7CF7D6
split-complementary
#997CF7 #F7D67C #9DF77C
monochromatic
#420EEA #6C42F3 #997CF7 #C6B6FB #E9E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997CF7#FFFFFF#000000##000000
##997CF71.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)
#4B92FB
Deuteranopia (green-blind)
#4F8EF4
Tritanopia (blue-blind)
#8195AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997cf7;
/* rgb */ color: rgb(153, 124, 247);
/* oklch */ color: oklch(66.9% 0.177 291.8);
Tailwind
colors: {
  custom: {
    50: '#bba2fa',
    500: '#997cf7',
    950: '#000000',
  },
}
SCSS
$custom: #997cf7;
$custom-light: #bba2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997cf7",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 254.146,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66927,
    "c": 0.17676,
    "h": 291.8
  },
  "luminance": 0.27903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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