#9A8EFD#9A8EFD

#9A8EFD is a light, vivid blue. Relative luminance 0.333; OKLCH L 70.5% C 0.159 H 286.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9A8EFD
RGBrgb(154, 142, 253)
HSLhsl(246, 97%, 77%)
HSVhsv(246, 44%, 99%)
CMYKcmyk(39.1%, 43.9%, 0%, 0.8%)
CIE-LABlab(64.41, 30.35, -53.93)
CIE-LCHlch(64.41, 61.89, 299.37°)
OKLaboklab(70.52% 0.0452 -0.1522)
OKLCHoklch(70.52% 0.159 286.5)
XYZxyz(40.7241, 33.3065, 97.1926)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8EFD #F1FD8E
analogous
#8EBAFD #9A8EFD #D18EFD
triadic
#9A8EFD #FD9A8E #8EFD9A
tetradic
#9A8EFD #FD8EBA #F1FD8E #8EFDD1
square
#9A8EFD #FD8EBA #F1FD8E #8EFDD1
split-complementary
#9A8EFD #FDD18E #BAFD8E
monochromatic
#2E16FB #6452FC #9A8EFD #D0CAFE #E4E1FE

Accessibility & contrast

On white

2.74
#9A8EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9A8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A8EFD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8EFD#FFFFFF#000000##000000
##9A8EFD1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#7EA4B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9a8efd;
/* rgb */ color: rgb(154, 142, 253);
/* oklch */ color: oklch(70.5% 0.159 286.5);
Tailwind
colors: {
  custom: {
    50: '#bcaffe',
    500: '#9a8efd',
    950: '#000000',
  },
}
SCSS
$custom: #9a8efd;
$custom-light: #bcaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8efd",
  "rgb": {
    "r": 154,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 246.486,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.70517,
    "c": 0.1588,
    "h": 286.5
  },
  "luminance": 0.33308
}

Semantic roles & 50–950 ramp

primary
#9A8EFD
secondary
#F3F7D4
accent
#E600CD
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9A8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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