#915EA2#915EA2

#915EA2 is a mid, moderate purple. Relative luminance 0.166; OKLCH L 56.3% C 0.116 H 317.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#915EA2
RGBrgb(145, 94, 162)
HSLhsl(285, 27%, 50%)
HSVhsv(285, 42%, 64%)
CMYKcmyk(10.5%, 42%, 0%, 36.5%)
CIE-LABlab(47.80, 32.94, -28.58)
CIE-LCHlch(47.80, 43.61, 319.06°)
OKLaboklab(56.33% 0.0855 -0.0788)
OKLCHoklch(56.33% 0.116 317.3)
XYZxyz(22.2004, 16.6344, 36.2167)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EA2 #6FA25E
analogous
#6F5EA2 #915EA2 #A25E91
triadic
#915EA2 #A2915E #5EA291
tetradic
#915EA2 #A26F5E #6FA25E #5E91A2
square
#915EA2 #A26F5E #6FA25E #5E91A2
split-complementary
#915EA2 #91A25E #5EA26F
monochromatic
#4C3155 #6E477B #915EA2 #AC85B8 #C6ACCF

Accessibility & contrast

On white

4.85
#915EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#915EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915EA2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EA2#FFFFFF#000000##FFFFFF
##915EA21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536EA4
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#916778
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #915ea2;
/* rgb */ color: rgb(145, 94, 162);
/* oklch */ color: oklch(56.3% 0.116 317.3);
Tailwind
colors: {
  custom: {
    50: '#b28dbe',
    500: '#915ea2',
    950: '#000000',
  },
}
SCSS
$custom: #915ea2;
$custom-light: #b28dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#915ea2",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 285,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56334,
    "c": 0.11627,
    "h": 317.3
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

primary
#915EA2
secondary
#A6BD9F
accent
#C3657C
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #915EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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