#9E97FF#9E97FF

#9E97FF is a light, vivid blue. Relative luminance 0.366; OKLCH L 72.6% C 0.148 H 285.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#9E97FF
RGBrgb(158, 151, 255)
HSLhsl(244, 100%, 80%)
HSVhsv(244, 41%, 100%)
CMYKcmyk(38%, 40.8%, 0%, 0%)
CIE-LABlab(66.99, 26.74, -50.91)
CIE-LCHlch(66.99, 57.51, 297.71°)
OKLaboklab(72.59% 0.0388 -0.1433)
OKLCHoklch(72.59% 0.148 285.1)
XYZxyz(43.2121, 36.6208, 99.3801)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E97FF #F8FF97
analogous
#97C4FF #9E97FF #D297FF
triadic
#9E97FF #FF9E97 #97FF9E
tetradic
#9E97FF #FF97C4 #F8FF97 #97FFD2
square
#9E97FF #FF97C4 #F8FF97 #97FFD2
split-complementary
#9E97FF #FFD297 #C4FF97
monochromatic
#2C1DFF #655AFF #9E97FF #D7D4FF #E2E0FF

Accessibility & contrast

On white

2.52
#9E97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#9E97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E97FF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E97FF#FFFFFF#000000##000000
##9E97FF1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#71A0FD
Tritanopia (blue-blind)
#83ABBF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9e97ff;
/* rgb */ color: rgb(158, 151, 255);
/* oklch */ color: oklch(72.6% 0.148 285.1);
Tailwind
colors: {
  custom: {
    50: '#beb5ff',
    500: '#9e97ff',
    950: '#000000',
  },
}
SCSS
$custom: #9e97ff;
$custom-light: #beb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9e97ff",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 244.038,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.72587,
    "c": 0.14846,
    "h": 285.1
  },
  "luminance": 0.36622
}

Semantic roles & 50–950 ramp

primary
#9E97FF
secondary
#F5F7D4
accent
#E600D6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9E97FF

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

Preview Lab → · Contrast checker → · Palette generator →

#9E97FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva