#917CFE#917CFE

#917CFE is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.7% C 0.186 H 287.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#917CFE
RGBrgb(145, 124, 254)
HSLhsl(250, 98%, 74%)
HSVhsv(250, 51%, 100%)
CMYKcmyk(42.9%, 51.2%, 0%, 0.4%)
CIE-LABlab(59.52, 38.82, -62.33)
CIE-LCHlch(59.52, 73.43, 301.92°)
OKLaboklab(66.68% 0.0565 -0.1771)
OKLCHoklch(66.68% 0.186 287.7)
XYZxyz(36.7690, 27.5894, 97.1347)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917CFE #E9FE7C
analogous
#7CA8FE #917CFE #D27CFE
triadic
#917CFE #FE917C #7CFE91
tetradic
#917CFE #FE7CA8 #E9FE7C #7CFED2
square
#917CFE #FE7CA8 #E9FE7C #7CFED2
split-complementary
#917CFE #FED27C #A8FE7C
monochromatic
#2B03FD #5E3FFE #917CFE #C4B9FE #E5E1FF

Accessibility & contrast

On white

3.22
#917CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#917CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917CFE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917CFE#FFFFFF#000000##000000
##917CFE1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#408CFB
Tritanopia (blue-blind)
#7097B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #917cfe;
/* rgb */ color: rgb(145, 124, 254);
/* oklch */ color: oklch(66.7% 0.186 287.7);
Tailwind
colors: {
  custom: {
    50: '#b7a2ff',
    500: '#917cfe',
    950: '#000000',
  },
}
SCSS
$custom: #917cfe;
$custom-light: #b7a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#917cfe",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 249.692,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66678,
    "c": 0.18592,
    "h": 287.7
  },
  "luminance": 0.27591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #917CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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