#997CF8#997CF8

#997CF8 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.178 H 291.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#997CF8
RGBrgb(153, 124, 248)
HSLhsl(254, 90%, 73%)
HSVhsv(254, 50%, 97%)
CMYKcmyk(38.3%, 50%, 0%, 2.7%)
CIE-LABlab(59.86, 39.05, -58.44)
CIE-LCHlch(59.86, 70.29, 303.75°)
OKLaboklab(66.99% 0.0656 -0.1655)
OKLCHoklch(66.99% 0.178 291.6)
XYZxyz(37.2832, 27.9639, 92.2220)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CF8 #DBF87C
analogous
#7C9DF8 #997CF8 #D77CF8
triadic
#997CF8 #F8997C #7CF899
tetradic
#997CF8 #F87C9D #DBF87C #7CF8D7
square
#997CF8 #F87C9D #DBF87C #7CF8D7
split-complementary
#997CF8 #F8D77C #9DF87C
monochromatic
#410DED #6C42F5 #997CF8 #C6B6FB #E8E2FD

Accessibility & contrast

On white

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

On black

6.59
#997CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CF8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CF8#FFFFFF#000000##000000
##997CF81.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FC
Deuteranopia (green-blind)
#4E8EF5
Tritanopia (blue-blind)
#8095AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997cf8;
/* rgb */ color: rgb(153, 124, 248);
/* oklch */ color: oklch(67.0% 0.178 291.6);
Tailwind
colors: {
  custom: {
    50: '#bba2fb',
    500: '#997cf8',
    950: '#000000',
  },
}
SCSS
$custom: #997cf8;
$custom-light: #bba2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#997cf8",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 254.032,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66987,
    "c": 0.17805,
    "h": 291.6
  },
  "luminance": 0.27965
}

Semantic roles & 50–950 ramp

primary
#997CF8
secondary
#EEF6D5
accent
#E600B0
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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