#9045A2#9045A2

#9045A2 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.3% C 0.159 H 319.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9045A2
RGBrgb(144, 69, 162)
HSLhsl(288, 40%, 45%)
HSVhsv(288, 57%, 64%)
CMYKcmyk(11.1%, 57.4%, 0%, 36.5%)
CIE-LABlab(42.45, 46.19, -36.98)
CIE-LCHlch(42.45, 59.17, 321.32°)
OKLaboklab(52.34% 0.1206 -0.1029)
OKLCHoklch(52.34% 0.159 319.5)
XYZxyz(20.1505, 12.7950, 35.5837)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045A2 #57A245
analogous
#6145A2 #9045A2 #A24585
triadic
#9045A2 #A29045 #45A290
tetradic
#9045A2 #A26145 #57A245 #4585A2
square
#9045A2 #A26145 #57A245 #4585A2
split-complementary
#9045A2 #85A245 #45A261
monochromatic
#44204C #6A3377 #9045A2 #AD66BE #C491D0

Accessibility & contrast

On white

5.90
#9045A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9045A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045A2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045A2#FFFFFF#000000##FFFFFF
##9045A21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#90536D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9045a2;
/* rgb */ color: rgb(144, 69, 162);
/* oklch */ color: oklch(52.3% 0.159 319.5);
Tailwind
colors: {
  custom: {
    50: '#b37cbe',
    500: '#9045a2',
    950: '#000000',
  },
}
SCSS
$custom: #9045a2;
$custom-light: #b37cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9045a2",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 288.387,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.1585,
    "h": 319.5
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#9045A2
secondary
#91BC87
accent
#D0586F
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #9045A2

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

Preview Lab → · Contrast checker → · Palette generator →

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