#9A8DFD#9A8DFD

#9A8DFD is a light, vivid blue. Relative luminance 0.330; OKLCH L 70.3% C 0.160 H 286.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9A8DFD
RGBrgb(154, 141, 253)
HSLhsl(247, 97%, 77%)
HSVhsv(247, 44%, 99%)
CMYKcmyk(39.1%, 44.3%, 0%, 0.8%)
CIE-LABlab(64.17, 30.93, -54.31)
CIE-LCHlch(64.17, 62.50, 299.66°)
OKLaboklab(70.34% 0.0464 -0.1534)
OKLCHoklch(70.34% 0.16 286.8)
XYZxyz(40.5760, 33.0103, 97.1432)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8DFD #F0FD8D
analogous
#8DB8FD #9A8DFD #D28DFD
triadic
#9A8DFD #FD9A8D #8DFD9A
tetradic
#9A8DFD #FD8DB8 #F0FD8D #8DFDD2
square
#9A8DFD #FD8DB8 #F0FD8D #8DFDD2
split-complementary
#9A8DFD #FDD28D #B8FD8D
monochromatic
#2F15FB #6551FC #9A8DFD #CFC9FE #E4E1FE

Accessibility & contrast

On white

2.76
#9A8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#9A8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A8DFD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8DFD#FFFFFF#000000##000000
##9A8DFD1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#6398FA
Tritanopia (blue-blind)
#7EA3B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9a8dfd;
/* rgb */ color: rgb(154, 141, 253);
/* oklch */ color: oklch(70.3% 0.160 286.8);
Tailwind
colors: {
  custom: {
    50: '#bcaefe',
    500: '#9a8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9a8dfd;
$custom-light: #bcaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8dfd",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 246.964,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70336,
    "c": 0.16023,
    "h": 286.8
  },
  "luminance": 0.33012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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