#9E97EA#9E97EA

#9E97EA is a light, moderate blue. Relative luminance 0.353; OKLCH L 71.5% C 0.120 H 286.8°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9E97EA
RGBrgb(158, 151, 234)
HSLhsl(245, 66%, 75%)
HSVhsv(245, 35%, 92%)
CMYKcmyk(32.5%, 35.5%, 0%, 8.2%)
CIE-LABlab(66.01, 21.23, -40.96)
CIE-LCHlch(66.01, 46.13, 297.40°)
OKLaboklab(71.52% 0.0346 -0.1144)
OKLCHoklch(71.52% 0.12 286.8)
XYZxyz(40.0145, 35.3418, 82.5393)
Luminance0.3534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E97EA #E3EA97
analogous
#97B9EA #9E97EA #C797EA
triadic
#9E97EA #EA9E97 #97EA9E
tetradic
#9E97EA #EA97B9 #E3EA97 #97EAC7
square
#9E97EA #EA97B9 #E3EA97 #97EAC7
split-complementary
#9E97EA #EAC797 #B9EA97
monochromatic
#3F31D5 #6F64E0 #9E97EA #CDCAF4 #E7E6FA

Accessibility & contrast

On white

2.60
#9E97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#9E97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E97EA
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E97EA#FFFFFF#000000##000000
##9E97EA1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3ED
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#8BA6B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9e97ea;
/* rgb */ color: rgb(158, 151, 234);
/* oklch */ color: oklch(71.5% 0.120 286.8);
Tailwind
colors: {
  custom: {
    50: '#bdb5f1',
    500: '#9e97ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e97ea;
$custom-light: #bdb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e97ea",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 245.06,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7152,
    "c": 0.11951,
    "h": 286.8
  },
  "luminance": 0.35343
}

Semantic roles & 50–950 ramp

primary
#9E97EA
secondary
#EFF1DA
accent
#CE17BF
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9E97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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