#997EF0#997EF0

#997EF0 is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.9% C 0.165 H 292.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#997EF0
RGBrgb(153, 126, 240)
HSLhsl(254, 79%, 72%)
HSVhsv(254, 48%, 94%)
CMYKcmyk(36.3%, 47.5%, 0%, 5.9%)
CIE-LABlab(59.87, 35.79, -53.99)
CIE-LCHlch(59.87, 64.78, 303.54°)
OKLaboklab(66.86% 0.0624 -0.1525)
OKLCHoklch(66.86% 0.165 292.3)
XYZxyz(36.3218, 27.9844, 85.9090)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EF0 #D5F07E
analogous
#7E9CF0 #997EF0 #D27EF0
triadic
#997EF0 #F0997E #7EF099
tetradic
#997EF0 #F07E9C #D5F07E #7EF0D2
square
#997EF0 #F07E9C #D5F07E #7EF0D2
split-complementary
#997EF0 #F0D27E #9CF07E
monochromatic
#4719DA #6E47EA #997EF0 #C4B5F6 #E9E4FC

Accessibility & contrast

On white

3.18
#997EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#997EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EF0
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EF0#FFFFFF#000000##000000
##997EF01.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F4
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#8394AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997ef0;
/* rgb */ color: rgb(153, 126, 240);
/* oklch */ color: oklch(66.9% 0.165 292.3);
Tailwind
colors: {
  custom: {
    50: '#bba4f5',
    500: '#997ef0',
    950: '#000000',
  },
}
SCSS
$custom: #997ef0;
$custom-light: #bba4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997ef0",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 254.211,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66858,
    "c": 0.16474,
    "h": 292.3
  },
  "luminance": 0.27985
}

Semantic roles & 50–950 ramp

primary
#997EF0
secondary
#EDF3D6
accent
#DB0AAA
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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