#915DA2#915DA2

#915DA2 is a mid, moderate purple. Relative luminance 0.165; OKLCH L 56.2% C 0.118 H 317.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#915DA2
RGBrgb(145, 93, 162)
HSLhsl(285, 27%, 50%)
HSVhsv(285, 43%, 64%)
CMYKcmyk(10.5%, 42.6%, 0%, 36.5%)
CIE-LABlab(47.57, 33.51, -28.93)
CIE-LCHlch(47.57, 44.27, 319.19°)
OKLaboklab(56.16% 0.087 -0.0798)
OKLCHoklch(56.16% 0.118 317.5)
XYZxyz(22.1121, 16.4577, 36.1873)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DA2 #6EA25D
analogous
#6E5DA2 #915DA2 #A25D91
triadic
#915DA2 #A2915D #5DA291
tetradic
#915DA2 #A26E5D #6EA25D #5D91A2
square
#915DA2 #A26E5D #6EA25D #5D91A2
split-complementary
#915DA2 #91A25D #5DA26E
monochromatic
#4B3054 #6E477B #915DA2 #AB84B8 #C6ABCF

Accessibility & contrast

On white

4.89
#915DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#915DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915DA2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DA2#FFFFFF#000000##FFFFFF
##915DA21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#916678
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #915da2;
/* rgb */ color: rgb(145, 93, 162);
/* oklch */ color: oklch(56.2% 0.118 317.5);
Tailwind
colors: {
  custom: {
    50: '#b28cbe',
    500: '#915da2',
    950: '#000000',
  },
}
SCSS
$custom: #915da2;
$custom-light: #b28cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#915da2",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 285.217,
    "s": 27.059,
    "l": 50
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.11808,
    "h": 317.5
  },
  "luminance": 0.16457
}

Semantic roles & 50–950 ramp

primary
#915DA2
secondary
#A6BD9E
accent
#C3647C
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #915DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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