#A045E2#A045E2

#A045E2 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.5% C 0.229 H 307.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A045E2
RGBrgb(160, 69, 226)
HSLhsl(275, 73%, 58%)
HSVhsv(275, 69%, 89%)
CMYKcmyk(29.2%, 69.5%, 0%, 11.4%)
CIE-LABlab(48.54, 63.57, -64.30)
CIE-LCHlch(48.54, 90.42, 314.67°)
OKLaboklab(58.45% 0.1383 -0.1824)
OKLCHoklch(58.45% 0.229 307.2)
XYZxyz(30.3499, 17.2212, 73.6619)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045E2 #87E245
analogous
#5145E2 #A045E2 #E245D5
triadic
#A045E2 #E2A045 #45E2A0
tetradic
#A045E2 #E25145 #87E245 #45D5E2
square
#A045E2 #E25145 #87E245 #45D5E2
split-complementary
#A045E2 #D5E245 #45E251
monochromatic
#601795 #8220CA #A045E2 #BB7AEA #D6AFF3

Accessibility & contrast

On white

4.73
#A045E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A045E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045E2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045E2#FFFFFF#000000##FFFFFF
##A045E21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#1474DF
Tritanopia (blue-blind)
#95698F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a045e2;
/* rgb */ color: rgb(160, 69, 226);
/* oklch */ color: oklch(58.5% 0.229 307.2);
Tailwind
colors: {
  custom: {
    50: '#c180ec',
    500: '#a045e2',
    950: '#000000',
  },
}
SCSS
$custom: #a045e2;
$custom-light: #c180ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a045e2",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 274.777,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.22891,
    "h": 307.2
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#A045E2
secondary
#BCE1A2
accent
#F03885
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A045E2

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

Preview Lab → · Contrast checker → · Palette generator →

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