#915BB9#915BB9

#915BB9 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.149 H 309.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#915BB9
RGBrgb(145, 91, 185)
HSLhsl(274, 40%, 54%)
HSVhsv(274, 51%, 73%)
CMYKcmyk(21.6%, 50.8%, 0%, 27.5%)
CIE-LABlab(48.27, 39.78, -41.30)
CIE-LCHlch(48.27, 57.34, 313.92°)
OKLaboklab(57.06% 0.0934 -0.1156)
OKLCHoklch(57.06% 0.149 309)
XYZxyz(24.1734, 17.0050, 47.8984)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BB9 #83B95B
analogous
#625BB9 #915BB9 #B95BB2
triadic
#915BB9 #B9915B #5BB991
tetradic
#915BB9 #B9625B #83B95B #5BB2B9
square
#915BB9 #B9625B #83B95B #5BB2B9
split-complementary
#915BB9 #B2B95B #5BB962
monochromatic
#512E6C #724097 #915BB9 #AE86CB #CBB1DE

Accessibility & contrast

On white

4.77
#915BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#915BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915BB9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BB9#FFFFFF#000000##FFFFFF
##915BB91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4270BC
Deuteranopia (green-blind)
#5273B7
Tritanopia (blue-blind)
#8C6B81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #915bb9;
/* rgb */ color: rgb(145, 91, 185);
/* oklch */ color: oklch(57.1% 0.149 309.0);
Tailwind
colors: {
  custom: {
    50: '#b38bce',
    500: '#915bb9',
    950: '#000000',
  },
}
SCSS
$custom: #915bb9;
$custom-light: #b38bce;
$custom-dark: #000000;
JSON
{
  "hex": "#915bb9",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 185
  },
  "hsl": {
    "h": 274.468,
    "s": 40.171,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57055,
    "c": 0.14861,
    "h": 309
  },
  "luminance": 0.17005
}

Semantic roles & 50–950 ramp

primary
#915BB9
secondary
#B5CCA4
accent
#D0588B
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #915BB9

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

Preview Lab → · Contrast checker → · Palette generator →

#915BB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva