#9E8FF7#9E8FF7

#9E8FF7 is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.7% C 0.149 H 288.6°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9E8FF7
RGBrgb(158, 143, 247)
HSLhsl(249, 87%, 76%)
HSVhsv(249, 42%, 97%)
CMYKcmyk(36%, 42.1%, 0%, 3.1%)
CIE-LABlab(64.67, 29.19, -50.22)
CIE-LCHlch(64.67, 58.09, 300.17°)
OKLaboklab(70.69% 0.0476 -0.1413)
OKLCHoklch(70.69% 0.149 288.6)
XYZxyz(40.7070, 33.6283, 92.3238)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8FF7 #E8F78F
analogous
#8FB4F7 #9E8FF7 #D28FF7
triadic
#9E8FF7 #F79E8F #8FF79E
tetradic
#9E8FF7 #F78FB4 #E8F78F #8FF7D2
square
#9E8FF7 #F78FB4 #E8F78F #8FF7D2
split-complementary
#9E8FF7 #F7D28F #B4F78F
monochromatic
#3B1DEF #6D56F3 #9E8FF7 #CFC8FB #E6E2FD

Accessibility & contrast

On white

2.72
#9E8FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9E8FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E8FF7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8FF7#FFFFFF#000000##000000
##9E8FF71.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#87A3B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9e8ff7;
/* rgb */ color: rgb(158, 143, 247);
/* oklch */ color: oklch(70.7% 0.149 288.6);
Tailwind
colors: {
  custom: {
    50: '#beb0fa',
    500: '#9e8ff7',
    950: '#000000',
  },
}
SCSS
$custom: #9e8ff7;
$custom-light: #beb0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8ff7",
  "rgb": {
    "r": 158,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 248.654,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70693,
    "c": 0.14909,
    "h": 288.6
  },
  "luminance": 0.33629
}

Semantic roles & 50–950 ramp

primary
#9E8FF7
secondary
#F1F5D6
accent
#E302C3
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9E8FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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