#917FF7#917FF7

#917FF7 is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.8% C 0.173 H 287.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#917FF7
RGBrgb(145, 127, 247)
HSLhsl(249, 88%, 73%)
HSVhsv(249, 49%, 97%)
CMYKcmyk(41.3%, 48.6%, 0%, 3.1%)
CIE-LABlab(59.81, 35.17, -58.00)
CIE-LCHlch(59.81, 67.83, 301.23°)
OKLaboklab(66.77% 0.0524 -0.1644)
OKLCHoklch(66.77% 0.173 287.7)
XYZxyz(36.0502, 27.9126, 91.4659)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917FF7 #E5F77F
analogous
#7FA9F7 #917FF7 #CD7FF7
triadic
#917FF7 #F7917F #7FF791
tetradic
#917FF7 #F77FA9 #E5F77F #7FF7CD
square
#917FF7 #F77FA9 #E5F77F #7FF7CD
split-complementary
#917FF7 #F7CD7F #A9F77F
monochromatic
#300FED #5F45F3 #917FF7 #C2B9FB #E6E2FD

Accessibility & contrast

On white

3.19
#917FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#917FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917FF7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917FF7#FFFFFF#000000##000000
##917FF71.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#7398AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #917ff7;
/* rgb */ color: rgb(145, 127, 247);
/* oklch */ color: oklch(66.8% 0.173 287.7);
Tailwind
colors: {
  custom: {
    50: '#b6a4fa',
    500: '#917ff7',
    950: '#000000',
  },
}
SCSS
$custom: #917ff7;
$custom-light: #b6a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#917ff7",
  "rgb": {
    "r": 145,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 249,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66769,
    "c": 0.17257,
    "h": 287.7
  },
  "luminance": 0.27914
}

Semantic roles & 50–950 ramp

primary
#917FF7
secondary
#F1F5D6
accent
#E501C3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #917FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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