#917EFE#917EFE

#917EFE is a light, vivid blue. Relative luminance 0.281; OKLCH L 67.0% C 0.183 H 287.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#917EFE
RGBrgb(145, 126, 254)
HSLhsl(249, 98%, 75%)
HSVhsv(249, 50%, 100%)
CMYKcmyk(42.9%, 50.4%, 0%, 0.4%)
CIE-LABlab(59.98, 37.68, -61.60)
CIE-LCHlch(59.98, 72.20, 301.45°)
OKLaboklab(67.02% 0.0541 -0.175)
OKLCHoklch(67.02% 0.183 287.2)
XYZxyz(37.0222, 28.0958, 97.2191)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917EFE #EBFE7E
analogous
#7EABFE #917EFE #D17EFE
triadic
#917EFE #FE917E #7EFE91
tetradic
#917EFE #FE7EAB #EBFE7E #7EFED1
square
#917EFE #FE7EAB #EBFE7E #7EFED1
split-complementary
#917EFE #FED17E #ABFE7E
monochromatic
#2905FD #5D41FE #917EFE #C5BBFE #E5E1FF

Accessibility & contrast

On white

3.17
#917EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#917EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917EFE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917EFE#FFFFFF#000000##000000
##917EFE1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#448DFB
Tritanopia (blue-blind)
#7099B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #917efe;
/* rgb */ color: rgb(145, 126, 254);
/* oklch */ color: oklch(67.0% 0.183 287.2);
Tailwind
colors: {
  custom: {
    50: '#b7a3ff',
    500: '#917efe',
    950: '#000000',
  },
}
SCSS
$custom: #917efe;
$custom-light: #b7a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#917efe",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 248.906,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67021,
    "c": 0.18315,
    "h": 287.2
  },
  "luminance": 0.28097
}

Semantic roles & 50–950 ramp

primary
#917EFE
secondary
#F2F7D4
accent
#E600C3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #917EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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