#A045F0#A045F0

#A045F0 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.5% C 0.243 H 304.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A045F0
RGBrgb(160, 69, 240)
HSLhsl(272, 85%, 61%)
HSVhsv(272, 71%, 94%)
CMYKcmyk(33.3%, 71.3%, 0%, 5.9%)
CIE-LABlab(49.52, 66.68, -70.60)
CIE-LCHlch(49.52, 97.11, 313.36°)
OKLaboklab(59.46% 0.1361 -0.2009)
OKLCHoklch(59.46% 0.243 304.1)
XYZxyz(32.3499, 18.0212, 84.1954)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045F0 #95F045
analogous
#4A45F0 #A045F0 #F045EA
triadic
#A045F0 #F0A045 #45F0A0
tetradic
#A045F0 #F04A45 #95F045 #45EAF0
square
#A045F0 #F04A45 #95F045 #45EAF0
split-complementary
#A045F0 #EAF045 #45F04A
monochromatic
#620EAD #8312E5 #A045F0 #BD7EF5 #DAB6F9

Accessibility & contrast

On white

4.56
#A045F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A045F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A045F0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045F0#FFFFFF#000000##000000
##A045F01.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#906E97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a045f0;
/* rgb */ color: rgb(160, 69, 240);
/* oklch */ color: oklch(59.5% 0.243 304.1);
Tailwind
colors: {
  custom: {
    50: '#c280f6',
    500: '#a045f0',
    950: '#000000',
  },
}
SCSS
$custom: #a045f0;
$custom-light: #c280f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a045f0",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 271.93,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59459,
    "c": 0.24271,
    "h": 304.1
  },
  "luminance": 0.18021
}

Semantic roles & 50–950 ramp

primary
#A045F0
secondary
#C6E9A8
accent
#E2046C
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A045F0

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

Preview Lab → · Contrast checker → · Palette generator →

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