#9D8FF7#9D8FF7

#9D8FF7 is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.6% C 0.149 H 288.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9D8FF7
RGBrgb(157, 143, 247)
HSLhsl(248, 87%, 76%)
HSVhsv(248, 42%, 97%)
CMYKcmyk(36.4%, 42.1%, 0%, 3.1%)
CIE-LABlab(64.59, 28.93, -50.35)
CIE-LCHlch(64.59, 58.07, 299.88°)
OKLaboklab(70.61% 0.0464 -0.1417)
OKLCHoklch(70.61% 0.149 288.1)
XYZxyz(40.5110, 33.5272, 92.3146)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8FF7 #E9F78F
analogous
#8FB5F7 #9D8FF7 #D18FF7
triadic
#9D8FF7 #F79D8F #8FF79D
tetradic
#9D8FF7 #F78FB5 #E9F78F #8FF7D1
square
#9D8FF7 #F78FB5 #E9F78F #8FF7D1
split-complementary
#9D8FF7 #F7D18F #B5F78F
monochromatic
#391DEF #6B56F3 #9D8FF7 #CFC8FB #E6E2FD

Accessibility & contrast

On white

2.73
#9D8FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9D8FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D8FF7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8FF7#FFFFFF#000000##000000
##9D8FF71.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d8ff7;
/* rgb */ color: rgb(157, 143, 247);
/* oklch */ color: oklch(70.6% 0.149 288.1);
Tailwind
colors: {
  custom: {
    50: '#bdb0fa',
    500: '#9d8ff7',
    950: '#000000',
  },
}
SCSS
$custom: #9d8ff7;
$custom-light: #bdb0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8ff7",
  "rgb": {
    "r": 157,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 248.077,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70611,
    "c": 0.14912,
    "h": 288.1
  },
  "luminance": 0.33528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D8FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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