#A045B2#A045B2

#A045B2 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.182 H 320.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A045B2
RGBrgb(160, 69, 178)
HSLhsl(290, 44%, 48%)
HSVhsv(290, 61%, 70%)
CMYKcmyk(10.1%, 61.2%, 0%, 30.2%)
CIE-LABlab(45.56, 53.56, -41.39)
CIE-LCHlch(45.56, 67.69, 322.31°)
OKLaboklab(55.36% 0.1409 -0.1153)
OKLCHoklch(55.36% 0.182 320.7)
XYZxyz(24.6603, 14.9453, 43.6966)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045B2 #57B245
analogous
#6945B2 #A045B2 #B2458D
triadic
#A045B2 #B2A045 #45B2A0
tetradic
#A045B2 #B26945 #57B245 #458DB2
square
#A045B2 #B26945 #57B245 #458DB2
split-complementary
#A045B2 #8DB245 #45B269
monochromatic
#51235A #783486 #A045B2 #B86EC7 #CD9AD8

Accessibility & contrast

On white

5.26
#A045B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A045B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045B2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045B2#FFFFFF#000000##FFFFFF
##A045B21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#A15675
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a045b2;
/* rgb */ color: rgb(160, 69, 178);
/* oklch */ color: oklch(55.4% 0.182 320.7);
Tailwind
colors: {
  custom: {
    50: '#bf7ec9',
    500: '#a045b2',
    950: '#000000',
  },
}
SCSS
$custom: #a045b2;
$custom-light: #bf7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#a045b2",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 290.092,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.18207,
    "h": 320.7
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#A045B2
secondary
#98C48F
accent
#D45469
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #A045B2

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

Preview Lab → · Contrast checker → · Palette generator →

#A045B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva