#917AEE#917AEE

#917AEE is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.4% C 0.168 H 290.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#917AEE
RGBrgb(145, 122, 238)
HSLhsl(252, 77%, 71%)
HSVhsv(252, 49%, 93%)
CMYKcmyk(39.1%, 48.7%, 0%, 6.7%)
CIE-LABlab(58.14, 35.58, -55.68)
CIE-LCHlch(58.14, 66.08, 302.58°)
OKLaboklab(65.36% 0.0576 -0.1576)
OKLCHoklch(65.36% 0.168 290.1)
XYZxyz(34.0650, 26.1109, 84.1174)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917AEE #D7EE7A
analogous
#7A9DEE #917AEE #CB7AEE
triadic
#917AEE #EE917A #7AEE91
tetradic
#917AEE #EE7A9D #D7EE7A #7AEECB
square
#917AEE #EE7A9D #D7EE7A #7AEECB
split-complementary
#917AEE #EECB7A #9DEE7A
monochromatic
#3F1BD3 #6444E7 #917AEE #BEB0F5 #E9E4FC

Accessibility & contrast

On white

3.37
#917AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#917AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917AEE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917AEE#FFFFFF#000000##000000
##917AEE1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF2
Deuteranopia (green-blind)
#4E89EB
Tritanopia (blue-blind)
#7891A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #917aee;
/* rgb */ color: rgb(145, 122, 238);
/* oklch */ color: oklch(65.4% 0.168 290.1);
Tailwind
colors: {
  custom: {
    50: '#b5a1f4',
    500: '#917aee',
    950: '#000000',
  },
}
SCSS
$custom: #917aee;
$custom-light: #b5a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#917aee",
  "rgb": {
    "r": 145,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 251.897,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65356,
    "c": 0.16784,
    "h": 290.1
  },
  "luminance": 0.26112
}

Semantic roles & 50–950 ramp

primary
#917AEE
secondary
#EBF2D2
accent
#DA0CB1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #917AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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