#917FA7#917FA7

#917FA7 is a light, moderate violet. Relative luminance 0.240; OKLCH L 62.7% C 0.062 H 305.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#917FA7
RGBrgb(145, 127, 167)
HSLhsl(267, 19%, 58%)
HSVhsv(267, 24%, 65%)
CMYKcmyk(13.2%, 24%, 0%, 34.5%)
CIE-LABlab(56.08, 14.90, -18.73)
CIE-LCHlch(56.08, 23.93, 308.50°)
OKLaboklab(62.71% 0.036 -0.051)
OKLCHoklch(62.71% 0.062 305.2)
XYZxyz(26.2402, 23.9886, 39.7996)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917FA7 #95A77F
analogous
#7F81A7 #917FA7 #A57FA7
triadic
#917FA7 #A7917F #7FA791
tetradic
#917FA7 #A77F81 #95A77F #7FA7A5
square
#917FA7 #A77F81 #95A77F #7FA7A5
split-complementary
#917FA7 #A7A57F #81A77F
monochromatic
#544666 #725F8A #917FA7 #B0A3C0 #CFC8D9

Accessibility & contrast

On white

3.62
#917FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#917FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917FA7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917FA7#FFFFFF#000000##000000
##917FA71.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7886A9
Deuteranopia (green-blind)
#7B87A6
Tritanopia (blue-blind)
#8E848D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #917fa7;
/* rgb */ color: rgb(145, 127, 167);
/* oklch */ color: oklch(62.7% 0.062 305.2);
Tailwind
colors: {
  custom: {
    50: '#b1a4c1',
    500: '#917fa7',
    950: '#000000',
  },
}
SCSS
$custom: #917fa7;
$custom-light: #b1a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#917fa7",
  "rgb": {
    "r": 145,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 267,
    "s": 18.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62709,
    "c": 0.06244,
    "h": 305.2
  },
  "luminance": 0.23989
}

Semantic roles & 50–950 ramp

primary
#917FA7
secondary
#C2C9B9
accent
#BB6D98
background
#FAFAFB
surface
#F5F4F7
border
#CFCED0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #917FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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