#9D9AFA#9D9AFA

#9D9AFA is a light, vivid blue. Relative luminance 0.372; OKLCH L 72.8% C 0.137 H 283.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#9D9AFA
RGBrgb(157, 154, 250)
HSLhsl(242, 91%, 79%)
HSVhsv(242, 38%, 98%)
CMYKcmyk(37.2%, 38.4%, 0%, 2%)
CIE-LABlab(67.41, 23.44, -47.53)
CIE-LCHlch(67.41, 53.00, 296.25°)
OKLaboklab(72.81% 0.0329 -0.1335)
OKLCHoklch(72.81% 0.137 283.9)
XYZxyz(42.7107, 37.1800, 95.3500)
Luminance0.3718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9AFA #F7FA9A
analogous
#9AC7FA #9D9AFA #CD9AFA
triadic
#9D9AFA #FA9D9A #9AFA9D
tetradic
#9D9AFA #FA9AC7 #F7FA9A #9AFACD
square
#9D9AFA #FA9AC7 #F7FA9A #9AFACD
split-complementary
#9D9AFA #FACD9A #C7FA9A
monochromatic
#2C25F4 #6460F7 #9D9AFA #D6D4FD #E3E2FE

Accessibility & contrast

On white

2.49
#9D9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#9D9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9AFA
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9AFA#FFFFFF#000000##000000
##9D9AFA1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#83ADBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9d9afa;
/* rgb */ color: rgb(157, 154, 250);
/* oklch */ color: oklch(72.8% 0.137 283.9);
Tailwind
colors: {
  custom: {
    50: '#bdb7fc',
    500: '#9d9afa',
    950: '#000000',
  },
}
SCSS
$custom: #9d9afa;
$custom-light: #bdb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9afa",
  "rgb": {
    "r": 157,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 241.875,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.72811,
    "c": 0.13748,
    "h": 283.9
  },
  "luminance": 0.37181
}

Semantic roles & 50–950 ramp

primary
#9D9AFA
secondary
#F5F6D5
accent
#E600DE
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9D9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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