#917FB3#917FB3

#917FB3 is a light, moderate violet. Relative luminance 0.245; OKLCH L 63.2% C 0.079 H 300.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#917FB3
RGBrgb(145, 127, 179)
HSLhsl(261, 25%, 60%)
HSVhsv(261, 29%, 70%)
CMYKcmyk(19%, 29.1%, 0%, 29.8%)
CIE-LABlab(56.54, 17.64, -24.91)
CIE-LCHlch(56.54, 30.52, 305.30°)
OKLaboklab(63.22% 0.0396 -0.0685)
OKLCHoklch(63.22% 0.079 300)
XYZxyz(27.4014, 24.4531, 45.9154)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917FB3 #A1B37F
analogous
#7F87B3 #917FB3 #AB7FB3
triadic
#917FB3 #B3917F #7FB391
tetradic
#917FB3 #B37F87 #A1B37F #7FB3AB
square
#917FB3 #B37F87 #A1B37F #7FB3AB
split-complementary
#917FB3 #B3AB7F #87B37F
monochromatic
#554473 #715B9A #917FB3 #B2A5CA #D3CCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##917FB3#FFFFFF#000000##000000
##917FB31.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)
#7487B5
Deuteranopia (green-blind)
#7787B2
Tritanopia (blue-blind)
#8B8791
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #917fb3;
/* rgb */ color: rgb(145, 127, 179);
/* oklch */ color: oklch(63.2% 0.079 300.0);
Tailwind
colors: {
  custom: {
    50: '#b2a4ca',
    500: '#917fb3',
    950: '#000000',
  },
}
SCSS
$custom: #917fb3;
$custom-light: #b2a4ca;
$custom-dark: #000000;
JSON
{
  "hex": "#917fb3",
  "rgb": {
    "r": 145,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 260.769,
    "s": 25.49,
    "l": 60
  },
  "oklch": {
    "l": 0.63217,
    "c": 0.07913,
    "h": 300
  },
  "luminance": 0.24453
}

Semantic roles & 50–950 ramp

primary
#917FB3
secondary
#CAD1BD
accent
#C266A2
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F13
muted
#807F82

Preview Lab

Preview with #917FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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