#997CF1#997CF1

#997CF1 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.6% C 0.169 H 292.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#997CF1
RGBrgb(153, 124, 241)
HSLhsl(255, 81%, 72%)
HSVhsv(255, 49%, 95%)
CMYKcmyk(36.5%, 48.5%, 0%, 5.5%)
CIE-LABlab(59.47, 37.19, -55.19)
CIE-LCHlch(59.47, 66.55, 303.98°)
OKLaboklab(66.57% 0.065 -0.156)
OKLCHoklch(66.57% 0.169 292.6)
XYZxyz(36.2175, 27.5376, 86.6091)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CF1 #D4F17C
analogous
#7C9AF1 #997CF1 #D47CF1
triadic
#997CF1 #F1997C #7CF199
tetradic
#997CF1 #F17C9A #D4F17C #7CF1D4
square
#997CF1 #F17C9A #D4F17C #7CF1D4
split-complementary
#997CF1 #F1D47C #9AF17C
monochromatic
#4817DB #6E45EB #997CF1 #C4B3F7 #E9E3FC

Accessibility & contrast

On white

3.23
#997CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#997CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CF1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CF1#FFFFFF#000000##000000
##997CF11.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F5
Deuteranopia (green-blind)
#558DEE
Tritanopia (blue-blind)
#8393AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997cf1;
/* rgb */ color: rgb(153, 124, 241);
/* oklch */ color: oklch(66.6% 0.169 292.6);
Tailwind
colors: {
  custom: {
    50: '#bba2f6',
    500: '#997cf1',
    950: '#000000',
  },
}
SCSS
$custom: #997cf1;
$custom-light: #bba2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#997cf1",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 241
  },
  "hsl": {
    "h": 254.872,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66572,
    "c": 0.16899,
    "h": 292.6
  },
  "luminance": 0.27538
}

Semantic roles & 50–950 ramp

primary
#997CF1
secondary
#ECF3D5
accent
#DD08A8
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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