#997CFB#997CFB

#997CFB is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.182 H 291.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#997CFB
RGBrgb(153, 124, 251)
HSLhsl(254, 94%, 74%)
HSVhsv(254, 51%, 98%)
CMYKcmyk(39%, 50.6%, 0%, 1.6%)
CIE-LABlab(60.03, 39.84, -59.83)
CIE-LCHlch(60.03, 71.88, 303.66°)
OKLaboklab(67.17% 0.0659 -0.1696)
OKLCHoklch(67.17% 0.182 291.2)
XYZxyz(37.7524, 28.1516, 94.6928)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CFB #DEFB7C
analogous
#7C9EFB #997CFB #D87CFB
triadic
#997CFB #FB997C #7CFB99
tetradic
#997CFB #FB7C9E #DEFB7C #7CFBD8
square
#997CFB #FB7C9E #DEFB7C #7CFBD8
split-complementary
#997CFB #FBD87C #9EFB7C
monochromatic
#3E07F5 #6B41F9 #997CFB #C7B7FD #E8E1FE

Accessibility & contrast

On white

3.17
#997CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#997CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CFB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CFB#FFFFFF#000000##000000
##997CFB1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#4B8EF8
Tritanopia (blue-blind)
#7F96B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997cfb;
/* rgb */ color: rgb(153, 124, 251);
/* oklch */ color: oklch(67.2% 0.182 291.2);
Tailwind
colors: {
  custom: {
    50: '#bca2fd',
    500: '#997cfb',
    950: '#000000',
  },
}
SCSS
$custom: #997cfb;
$custom-light: #bca2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#997cfb",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 253.701,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67168,
    "c": 0.18191,
    "h": 291.2
  },
  "luminance": 0.28153
}

Semantic roles & 50–950 ramp

primary
#997CFB
secondary
#EFF6D5
accent
#E600B1
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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