#915BA2#915BA2

#915BA2 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 55.8% C 0.122 H 317.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#915BA2
RGBrgb(145, 91, 162)
HSLhsl(286, 28%, 50%)
HSVhsv(286, 44%, 64%)
CMYKcmyk(10.5%, 43.8%, 0%, 36.5%)
CIE-LABlab(47.12, 34.64, -29.63)
CIE-LCHlch(47.12, 45.59, 319.45°)
OKLaboklab(55.83% 0.0901 -0.0818)
OKLCHoklch(55.83% 0.122 317.8)
XYZxyz(21.9388, 16.1112, 36.1295)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BA2 #6CA25B
analogous
#6E5BA2 #915BA2 #A25B90
triadic
#915BA2 #A2915B #5BA291
tetradic
#915BA2 #A26E5B #6CA25B #5B90A2
square
#915BA2 #A26E5B #6CA25B #5B90A2
split-complementary
#915BA2 #90A25B #5BA26E
monochromatic
#4B2F54 #6E457B #915BA2 #AB82B9 #C6A9CF

Accessibility & contrast

On white

4.97
#915BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#915BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915BA2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BA2#FFFFFF#000000##FFFFFF
##915BA21.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506CA5
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#916477
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #915ba2;
/* rgb */ color: rgb(145, 91, 162);
/* oklch */ color: oklch(55.8% 0.122 317.8);
Tailwind
colors: {
  custom: {
    50: '#b28bbe',
    500: '#915ba2',
    950: '#000000',
  },
}
SCSS
$custom: #915ba2;
$custom-light: #b28bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#915ba2",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 285.634,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.12166,
    "h": 317.8
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#915BA2
secondary
#A4BD9C
accent
#C4637B
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #915BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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