#917EB9#917EB9

#917EB9 is a light, moderate violet. Relative luminance 0.244; OKLCH L 63.3% C 0.089 H 298.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#917EB9
RGBrgb(145, 126, 185)
HSLhsl(259, 30%, 61%)
HSVhsv(259, 32%, 73%)
CMYKcmyk(21.6%, 31.9%, 0%, 27.5%)
CIE-LABlab(56.53, 19.64, -28.36)
CIE-LCHlch(56.53, 34.49, 304.71°)
OKLaboklab(63.29% 0.0427 -0.0783)
OKLCHoklch(63.29% 0.089 298.6)
XYZxyz(27.8929, 24.4441, 49.1382)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917EB9 #A6B97E
analogous
#7E88B9 #917EB9 #AE7EB9
triadic
#917EB9 #B9917E #7EB991
tetradic
#917EB9 #B97E88 #A6B97E #7EB9AE
square
#917EB9 #B97E88 #A6B97E #7EB9AE
split-complementary
#917EB9 #B9AE7E #88B97E
monochromatic
#54427A #7058A2 #917EB9 #B3A6CF #D5CDE4

Accessibility & contrast

On white

3.57
#917EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#917EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917EB9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917EB9#FFFFFF#000000##000000
##917EB91.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BB
Deuteranopia (green-blind)
#7387B7
Tritanopia (blue-blind)
#8A8793
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #917eb9;
/* rgb */ color: rgb(145, 126, 185);
/* oklch */ color: oklch(63.3% 0.089 298.6);
Tailwind
colors: {
  custom: {
    50: '#b2a3ce',
    500: '#917eb9',
    950: '#000000',
  },
}
SCSS
$custom: #917eb9;
$custom-light: #b2a3ce;
$custom-dark: #000000;
JSON
{
  "hex": "#917eb9",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 185
  },
  "hsl": {
    "h": 259.322,
    "s": 29.648,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63291,
    "c": 0.08923,
    "h": 298.6
  },
  "luminance": 0.24444
}

Semantic roles & 50–950 ramp

primary
#917EB9
secondary
#CDD5BE
accent
#A83D86
background
#FBFAFC
surface
#F6F3F9
border
#D0CDD2
text
#110F13
muted
#807F82

Preview Lab

Preview with #917EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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