#917DFD#917DFD

#917DFD is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.8% C 0.183 H 287.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#917DFD
RGBrgb(145, 125, 253)
HSLhsl(249, 97%, 74%)
HSVhsv(249, 51%, 99%)
CMYKcmyk(42.7%, 50.6%, 0%, 0.8%)
CIE-LABlab(59.69, 37.97, -61.51)
CIE-LCHlch(59.69, 72.28, 301.69°)
OKLaboklab(66.79% 0.0552 -0.1747)
OKLCHoklch(66.79% 0.183 287.5)
XYZxyz(36.7353, 27.7775, 96.3355)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917DFD #E9FD7D
analogous
#7DA9FD #917DFD #D17DFD
triadic
#917DFD #FD917D #7DFD91
tetradic
#917DFD #FD7DA9 #E9FD7D #7DFDD1
square
#917DFD #FD7DA9 #E9FD7D #7DFDD1
split-complementary
#917DFD #FDD17D #A9FD7D
monochromatic
#2B04FB #5E41FC #917DFD #C4B9FE #E5E1FF

Accessibility & contrast

On white

3.20
#917DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#917DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917DFD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917DFD#FFFFFF#000000##000000
##917DFD1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#438CFA
Tritanopia (blue-blind)
#7198B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #917dfd;
/* rgb */ color: rgb(145, 125, 253);
/* oklch */ color: oklch(66.8% 0.183 287.5);
Tailwind
colors: {
  custom: {
    50: '#b7a3ff',
    500: '#917dfd',
    950: '#000000',
  },
}
SCSS
$custom: #917dfd;
$custom-light: #b7a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#917dfd",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 249.375,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.18323,
    "h": 287.5
  },
  "luminance": 0.27779
}

Semantic roles & 50–950 ramp

primary
#917DFD
secondary
#F1F7D4
accent
#E600C2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #917DFD

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

Preview Lab → · Contrast checker → · Palette generator →

#917DFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva