#997FF0#997FF0

#997FF0 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.0% C 0.163 H 292.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#997FF0
RGBrgb(153, 127, 240)
HSLhsl(254, 79%, 72%)
HSVhsv(254, 47%, 94%)
CMYKcmyk(36.3%, 47.1%, 0%, 5.9%)
CIE-LABlab(60.11, 35.22, -53.62)
CIE-LCHlch(60.11, 64.16, 303.30°)
OKLaboklab(67.03% 0.0611 -0.1514)
OKLCHoklch(67.03% 0.163 292)
XYZxyz(36.4503, 28.2414, 85.9519)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FF0 #D6F07F
analogous
#7F9EF0 #997FF0 #D17FF0
triadic
#997FF0 #F0997F #7FF099
tetradic
#997FF0 #F07F9E #D6F07F #7FF0D1
square
#997FF0 #F07F9E #D6F07F #7FF0D1
split-complementary
#997FF0 #F0D17F #9EF07F
monochromatic
#461ADB #6D48EA #997FF0 #C5B6F6 #E9E4FC

Accessibility & contrast

On white

3.16
#997FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#997FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FF0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FF0#FFFFFF#000000##000000
##997FF01.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F4
Deuteranopia (green-blind)
#598FED
Tritanopia (blue-blind)
#8395AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997ff0;
/* rgb */ color: rgb(153, 127, 240);
/* oklch */ color: oklch(67.0% 0.163 292.0);
Tailwind
colors: {
  custom: {
    50: '#bba4f5',
    500: '#997ff0',
    950: '#000000',
  },
}
SCSS
$custom: #997ff0;
$custom-light: #bba4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997ff0",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 253.805,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67032,
    "c": 0.16326,
    "h": 292
  },
  "luminance": 0.28242
}

Semantic roles & 50–950 ramp

primary
#997FF0
secondary
#EDF4D7
accent
#DB0AAB
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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