#915FA2#915FA2

#915FA2 is a mid, moderate purple. Relative luminance 0.168; OKLCH L 56.5% C 0.114 H 317.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#915FA2
RGBrgb(145, 95, 162)
HSLhsl(285, 26%, 50%)
HSVhsv(285, 41%, 64%)
CMYKcmyk(10.5%, 41.4%, 0%, 36.5%)
CIE-LABlab(48.02, 32.37, -28.23)
CIE-LCHlch(48.02, 42.95, 318.91°)
OKLaboklab(56.51% 0.084 -0.0778)
OKLCHoklch(56.51% 0.114 317.2)
XYZxyz(22.2899, 16.8134, 36.2465)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FA2 #70A25F
analogous
#6F5FA2 #915FA2 #A25F91
triadic
#915FA2 #A2915F #5FA291
tetradic
#915FA2 #A26F5F #70A25F #5F91A2
square
#915FA2 #A26F5F #70A25F #5F91A2
split-complementary
#915FA2 #91A25F #5FA26F
monochromatic
#4C3155 #6F487C #915FA2 #AC86B8 #C6ACCF

Accessibility & contrast

On white

4.81
#915FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#915FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915FA2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FA2#FFFFFF#000000##FFFFFF
##915FA21.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546FA4
Deuteranopia (green-blind)
#6174A0
Tritanopia (blue-blind)
#916879
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #915fa2;
/* rgb */ color: rgb(145, 95, 162);
/* oklch */ color: oklch(56.5% 0.114 317.2);
Tailwind
colors: {
  custom: {
    50: '#b28dbd',
    500: '#915fa2',
    950: '#000000',
  },
}
SCSS
$custom: #915fa2;
$custom-light: #b28dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#915fa2",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 284.776,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.11447,
    "h": 317.2
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#915FA2
secondary
#A7BD9F
accent
#C3657D
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #915FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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