#A045CE#A045CE

#A045CE is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.209 H 312.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A045CE
RGBrgb(160, 69, 206)
HSLhsl(280, 58%, 54%)
HSVhsv(280, 67%, 81%)
CMYKcmyk(22.3%, 66.5%, 0%, 19.2%)
CIE-LABlab(47.22, 59.26, -55.01)
CIE-LCHlch(47.22, 80.86, 317.13°)
OKLaboklab(57.09% 0.1404 -0.1551)
OKLCHoklch(57.09% 0.209 312.1)
XYZxyz(27.7639, 16.1868, 60.0424)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045CE #73CE45
analogous
#5C45CE #A045CE #CE45B8
triadic
#A045CE #CEA045 #45CEA0
tetradic
#A045CE #CE5C45 #73CE45 #45B8CE
square
#A045CE #CE5C45 #73CE45 #45B8CE
split-complementary
#A045CE #B8CE45 #45CE5C
monochromatic
#5B2079 #7F2DA9 #A045CE #B975DB #D1A6E8

Accessibility & contrast

On white

4.96
#A045CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A045CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045CE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045CE#FFFFFF#000000##FFFFFF
##A045CE1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3872CB
Tritanopia (blue-blind)
#9B6184
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a045ce;
/* rgb */ color: rgb(160, 69, 206);
/* oklch */ color: oklch(57.1% 0.209 312.1);
Tailwind
colors: {
  custom: {
    50: '#c07fde',
    500: '#a045ce',
    950: '#000000',
  },
}
SCSS
$custom: #a045ce;
$custom-light: #c07fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a045ce",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 279.854,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.20922,
    "h": 312.1
  },
  "luminance": 0.16186
}

Semantic roles & 50–950 ramp

primary
#A045CE
secondary
#AED59A
accent
#E2467A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A045CE

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

Preview Lab → · Contrast checker → · Palette generator →

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