#917DFE#917DFE

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

Color values

HEX#917DFE
RGBrgb(145, 125, 254)
HSLhsl(249, 98%, 74%)
HSVhsv(249, 51%, 100%)
CMYKcmyk(42.9%, 50.8%, 0%, 0.4%)
CIE-LABlab(59.75, 38.25, -61.96)
CIE-LCHlch(59.75, 72.82, 301.69°)
OKLaboklab(66.85% 0.0553 -0.1761)
OKLCHoklch(66.85% 0.185 287.4)
XYZxyz(36.8950, 27.8413, 97.1767)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917DFE #EAFE7D
analogous
#7DAAFE #917DFE #D17DFE
triadic
#917DFE #FE917D #7DFE91
tetradic
#917DFE #FE7DAA #EAFE7D #7DFED1
square
#917DFE #FE7DAA #EAFE7D #7DFED1
split-complementary
#917DFE #FED17D #AAFE7D
monochromatic
#2A04FD #5E40FE #917DFE #C4BAFE #E5E1FF

Accessibility & contrast

On white

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

On black

6.57
#917DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917DFE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917DFE#FFFFFF#000000##000000
##917DFE1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#428CFB
Tritanopia (blue-blind)
#7098B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #917dfe;
/* rgb */ color: rgb(145, 125, 254);
/* oklch */ color: oklch(66.8% 0.185 287.4);
Tailwind
colors: {
  custom: {
    50: '#b7a3ff',
    500: '#917dfe',
    950: '#000000',
  },
}
SCSS
$custom: #917dfe;
$custom-light: #b7a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#917dfe",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 249.302,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66849,
    "c": 0.18454,
    "h": 287.4
  },
  "luminance": 0.27843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #917DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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