#915CA2#915CA2

#915CA2 is a mid, moderate purple. Relative luminance 0.163; OKLCH L 56.0% C 0.120 H 317.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#915CA2
RGBrgb(145, 92, 162)
HSLhsl(285, 28%, 50%)
HSVhsv(285, 43%, 64%)
CMYKcmyk(10.5%, 43.2%, 0%, 36.5%)
CIE-LABlab(47.34, 34.08, -29.28)
CIE-LCHlch(47.34, 44.93, 319.32°)
OKLaboklab(56% 0.0886 -0.0808)
OKLCHoklch(56% 0.12 317.6)
XYZxyz(22.0249, 16.2833, 36.1582)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CA2 #6DA25C
analogous
#6E5CA2 #915CA2 #A25C90
triadic
#915CA2 #A2915C #5CA291
tetradic
#915CA2 #A26E5C #6DA25C #5C90A2
square
#915CA2 #A26E5C #6DA25C #5C90A2
split-complementary
#915CA2 #90A25C #5CA26E
monochromatic
#4B3054 #6E467B #915CA2 #AB83B8 #C6AACF

Accessibility & contrast

On white

4.93
#915CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#915CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915CA2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CA2#FFFFFF#000000##FFFFFF
##915CA21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#5F72A0
Tritanopia (blue-blind)
#916577
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #915ca2;
/* rgb */ color: rgb(145, 92, 162);
/* oklch */ color: oklch(56.0% 0.120 317.6);
Tailwind
colors: {
  custom: {
    50: '#b28bbe',
    500: '#915ca2',
    950: '#000000',
  },
}
SCSS
$custom: #915ca2;
$custom-light: #b28bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#915ca2",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 285.429,
    "s": 27.559,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.11987,
    "h": 317.6
  },
  "luminance": 0.16283
}

Semantic roles & 50–950 ramp

primary
#915CA2
secondary
#A5BD9D
accent
#C4647B
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #915CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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