#917BEE#917BEE

#917BEE is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.5% C 0.166 H 289.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#917BEE
RGBrgb(145, 123, 238)
HSLhsl(251, 77%, 71%)
HSVhsv(251, 48%, 93%)
CMYKcmyk(39.1%, 48.3%, 0%, 6.7%)
CIE-LABlab(58.38, 35.01, -55.31)
CIE-LCHlch(58.38, 65.46, 302.33°)
OKLaboklab(65.53% 0.0564 -0.1565)
OKLCHoklch(65.53% 0.166 289.8)
XYZxyz(34.1884, 26.3577, 84.1586)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917BEE #D8EE7B
analogous
#7B9EEE #917BEE #CA7BEE
triadic
#917BEE #EE917B #7BEE91
tetradic
#917BEE #EE7B9E #D8EE7B #7BEECA
square
#917BEE #EE7B9E #D8EE7B #7BEECA
split-complementary
#917BEE #EECA7B #9EEE7B
monochromatic
#3E1BD3 #6445E7 #917BEE #BEB1F5 #E8E4FC

Accessibility & contrast

On white

3.35
#917BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#917BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917BEE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917BEE#FFFFFF#000000##000000
##917BEE1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF2
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#7892A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #917bee;
/* rgb */ color: rgb(145, 123, 238);
/* oklch */ color: oklch(65.5% 0.166 289.8);
Tailwind
colors: {
  custom: {
    50: '#b5a1f4',
    500: '#917bee',
    950: '#000000',
  },
}
SCSS
$custom: #917bee;
$custom-light: #b5a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#917bee",
  "rgb": {
    "r": 145,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 251.478,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65531,
    "c": 0.1664,
    "h": 289.8
  },
  "luminance": 0.26359
}

Semantic roles & 50–950 ramp

primary
#917BEE
secondary
#ECF2D3
accent
#D90CB2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #917BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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