#997CFE#997CFE

#997CFE is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.186 H 290.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#997CFE
RGBrgb(153, 124, 254)
HSLhsl(253, 98%, 74%)
HSVhsv(253, 51%, 100%)
CMYKcmyk(39.8%, 51.2%, 0%, 0.4%)
CIE-LABlab(60.20, 40.65, -61.20)
CIE-LCHlch(60.20, 73.47, 303.59°)
OKLaboklab(67.35% 0.066 -0.1736)
OKLCHoklch(67.35% 0.186 290.8)
XYZxyz(38.2290, 28.3422, 97.2031)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CFE #E1FE7C
analogous
#7CA0FE #997CFE #DA7CFE
triadic
#997CFE #FE997C #7CFE99
tetradic
#997CFE #FE7CA0 #E1FE7C #7CFEDA
square
#997CFE #FE7CA0 #E1FE7C #7CFEDA
split-complementary
#997CFE #FEDA7C #A0FE7C
monochromatic
#3A03FD #6A3FFE #997CFE #C8B9FE #E7E1FF

Accessibility & contrast

On white

3.15
#997CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#997CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CFE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CFE#FFFFFF#000000##000000
##997CFE1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#488EFB
Tritanopia (blue-blind)
#7E97B1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997cfe;
/* rgb */ color: rgb(153, 124, 254);
/* oklch */ color: oklch(67.4% 0.186 290.8);
Tailwind
colors: {
  custom: {
    50: '#bca2ff',
    500: '#997cfe',
    950: '#000000',
  },
}
SCSS
$custom: #997cfe;
$custom-light: #bca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997cfe",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 253.385,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67351,
    "c": 0.18575,
    "h": 290.8
  },
  "luminance": 0.28343
}

Semantic roles & 50–950 ramp

primary
#997CFE
secondary
#EFF7D4
accent
#E600B2
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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