#9155A2#9155A2

#9155A2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 54.8% C 0.132 H 318.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9155A2
RGBrgb(145, 85, 162)
HSLhsl(287, 31%, 48%)
HSVhsv(287, 48%, 64%)
CMYKcmyk(10.5%, 47.5%, 0%, 36.5%)
CIE-LABlab(45.81, 37.99, -31.69)
CIE-LCHlch(45.81, 49.47, 320.17°)
OKLaboklab(54.85% 0.0991 -0.0877)
OKLCHoklch(54.85% 0.132 318.5)
XYZxyz(21.4463, 15.1261, 35.9653)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9155A2 #66A255
analogous
#6A55A2 #9155A2 #A2558C
triadic
#9155A2 #A29155 #55A291
tetradic
#9155A2 #A26A55 #66A255 #558CA2
square
#9155A2 #A26A55 #66A255 #558CA2
split-complementary
#9155A2 #8CA255 #55A26A
monochromatic
#492B52 #6D407A #9155A2 #AC7BBA #C5A3CF

Accessibility & contrast

On white

5.22
#9155A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9155A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9155A2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9155A2#FFFFFF#000000##FFFFFF
##9155A21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#915F74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9155a2;
/* rgb */ color: rgb(145, 85, 162);
/* oklch */ color: oklch(54.8% 0.132 318.5);
Tailwind
colors: {
  custom: {
    50: '#b387be',
    500: '#9155a2',
    950: '#000000',
  },
}
SCSS
$custom: #9155a2;
$custom-light: #b387be;
$custom-dark: #000000;
JSON
{
  "hex": "#9155a2",
  "rgb": {
    "r": 145,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 286.753,
    "s": 31.174,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.13227,
    "h": 318.5
  },
  "luminance": 0.15125
}

Semantic roles & 50–950 ramp

primary
#9155A2
secondary
#9FBC97
accent
#C76077
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #9155A2

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

Preview Lab → · Contrast checker → · Palette generator →

#9155A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva