#A045E0#A045E0

#A045E0 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.3% C 0.227 H 307.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A045E0
RGBrgb(160, 69, 224)
HSLhsl(275, 71%, 57%)
HSVhsv(275, 69%, 88%)
CMYKcmyk(28.6%, 69.2%, 0%, 12.2%)
CIE-LABlab(48.40, 63.13, -63.39)
CIE-LCHlch(48.40, 89.46, 314.88°)
OKLaboklab(58.31% 0.1386 -0.1797)
OKLCHoklch(58.31% 0.227 307.6)
XYZxyz(30.0771, 17.1121, 72.2250)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045E0 #85E045
analogous
#5345E0 #A045E0 #E045D2
triadic
#A045E0 #E0A045 #45E0A0
tetradic
#A045E0 #E05345 #85E045 #45D2E0
square
#A045E0 #E05345 #85E045 #45D2E0
split-complementary
#A045E0 #D2E045 #45E053
monochromatic
#601892 #8221C7 #A045E0 #BB79E9 #D6AEF1

Accessibility & contrast

On white

4.75
#A045E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A045E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045E0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045E0#FFFFFF#000000##FFFFFF
##A045E01.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#1A74DD
Tritanopia (blue-blind)
#96688E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a045e0;
/* rgb */ color: rgb(160, 69, 224);
/* oklch */ color: oklch(58.3% 0.227 307.6);
Tailwind
colors: {
  custom: {
    50: '#c180eb',
    500: '#a045e0',
    950: '#000000',
  },
}
SCSS
$custom: #a045e0;
$custom-light: #c180eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a045e0",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 275.226,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.22694,
    "h": 307.6
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#A045E0
secondary
#BBE0A1
accent
#EE3A84
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A045E0

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

Preview Lab → · Contrast checker → · Palette generator →

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