#997FF4#997FF4

#997FF4 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.3% C 0.169 H 291.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#997FF4
RGBrgb(153, 127, 244)
HSLhsl(253, 84%, 73%)
HSVhsv(253, 48%, 96%)
CMYKcmyk(37.3%, 48%, 0%, 4.3%)
CIE-LABlab(60.32, 36.28, -55.49)
CIE-LCHlch(60.32, 66.30, 303.18°)
OKLaboklab(67.26% 0.0616 -0.1569)
OKLCHoklch(67.26% 0.169 291.4)
XYZxyz(37.0510, 28.4817, 89.1158)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FF4 #DAF47F
analogous
#7FA0F4 #997FF4 #D37FF4
triadic
#997FF4 #F4997F #7FF499
tetradic
#997FF4 #F47FA0 #DAF47F #7FF4D3
square
#997FF4 #F47FA0 #DAF47F #7FF4D3
split-complementary
#997FF4 #F4D37F #A0F47F
monochromatic
#4214E5 #6C47EF #997FF4 #C6B7F9 #E9E3FD

Accessibility & contrast

On white

3.14
#997FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#997FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FF4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FF4#FFFFFF#000000##000000
##997FF41.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F8
Deuteranopia (green-blind)
#568FF1
Tritanopia (blue-blind)
#8296AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997ff4;
/* rgb */ color: rgb(153, 127, 244);
/* oklch */ color: oklch(67.3% 0.169 291.4);
Tailwind
colors: {
  custom: {
    50: '#bba4f8',
    500: '#997ff4',
    950: '#000000',
  },
}
SCSS
$custom: #997ff4;
$custom-light: #bba4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#997ff4",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 253.333,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67264,
    "c": 0.16851,
    "h": 291.4
  },
  "luminance": 0.28483
}

Semantic roles & 50–950 ramp

primary
#997FF4
secondary
#EEF5D6
accent
#E105B0
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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