#917AB2#917AB2

#917AB2 is a light, moderate violet. Relative luminance 0.232; OKLCH L 62.2% C 0.086 H 302.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#917AB2
RGBrgb(145, 122, 178)
HSLhsl(265, 27%, 59%)
HSVhsv(265, 31%, 70%)
CMYKcmyk(18.5%, 31.5%, 0%, 30.2%)
CIE-LABlab(55.23, 20.32, -26.36)
CIE-LCHlch(55.23, 33.28, 307.63°)
OKLaboklab(62.2% 0.0468 -0.0726)
OKLCHoklch(62.2% 0.086 302.8)
XYZxyz(26.6708, 23.1532, 45.1748)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917AB2 #9BB27A
analogous
#7A7FB2 #917AB2 #AD7AB2
triadic
#917AB2 #B2917A #7AB291
tetradic
#917AB2 #B27A7F #9BB27A #7AB2AD
square
#917AB2 #B27A7F #9BB27A #7AB2AD
split-complementary
#917AB2 #B2AD7A #7FB27A
monochromatic
#554170 #725897 #917AB2 #B1A1C8 #D1C8DF

Accessibility & contrast

On white

3.73
#917AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#917AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917AB2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917AB2#FFFFFF#000000##000000
##917AB21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E84B4
Deuteranopia (green-blind)
#7384B0
Tritanopia (blue-blind)
#8C828E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #917ab2;
/* rgb */ color: rgb(145, 122, 178);
/* oklch */ color: oklch(62.2% 0.086 302.8);
Tailwind
colors: {
  custom: {
    50: '#b2a0c9',
    500: '#917ab2',
    950: '#000000',
  },
}
SCSS
$custom: #917ab2;
$custom-light: #b2a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#917ab2",
  "rgb": {
    "r": 145,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 264.643,
    "s": 26.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.622,
    "c": 0.08638,
    "h": 302.8
  },
  "luminance": 0.23153
}

Semantic roles & 50–950 ramp

primary
#917AB2
secondary
#C6CFB9
accent
#C3659C
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #917AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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