#A045D8#A045D8

#A045D8 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.219 H 309.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A045D8
RGBrgb(160, 69, 216)
HSLhsl(277, 65%, 56%)
HSVhsv(277, 68%, 85%)
CMYKcmyk(25.9%, 68.1%, 0%, 15.3%)
CIE-LABlab(47.86, 61.40, -59.70)
CIE-LCHlch(47.86, 85.64, 315.80°)
OKLaboklab(57.76% 0.1395 -0.1689)
OKLCHoklch(57.76% 0.219 309.6)
XYZxyz(29.0175, 16.6883, 66.6450)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045D8 #7DD845
analogous
#5645D8 #A045D8 #D845C6
triadic
#A045D8 #D8A045 #45D8A0
tetradic
#A045D8 #D85645 #7DD845 #45C6D8
square
#A045D8 #D85645 #7DD845 #45C6D8
split-complementary
#A045D8 #C6D845 #45D856
monochromatic
#5E1C86 #8127B9 #A045D8 #BA78E3 #D4AAED

Accessibility & contrast

On white

4.84
#A045D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A045D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045D8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045D8#FFFFFF#000000##FFFFFF
##A045D81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#2B73D5
Tritanopia (blue-blind)
#986589
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a045d8;
/* rgb */ color: rgb(160, 69, 216);
/* oklch */ color: oklch(57.8% 0.219 309.6);
Tailwind
colors: {
  custom: {
    50: '#c17fe5',
    500: '#a045d8',
    950: '#000000',
  },
}
SCSS
$custom: #a045d8;
$custom-light: #c17fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#a045d8",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 277.143,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57757,
    "c": 0.21906,
    "h": 309.6
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#A045D8
secondary
#B5DB9E
accent
#E84080
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A045D8

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

Preview Lab → · Contrast checker → · Palette generator →

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