#A045FF#A045FF

#A045FF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.6% C 0.257 H 301.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A045FF
RGBrgb(160, 69, 255)
HSLhsl(269, 100%, 64%)
HSVhsv(269, 73%, 100%)
CMYKcmyk(37.3%, 72.9%, 0%, 0%)
CIE-LABlab(50.63, 70.06, -77.18)
CIE-LCHlch(50.63, 104.24, 312.23°)
OKLaboklab(60.59% 0.1333 -0.2203)
OKLCHoklch(60.59% 0.257 301.2)
XYZxyz(34.6709, 18.9496, 96.4194)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045FF #A4FF45
analogous
#4547FF #A045FF #FD45FF
triadic
#A045FF #FFA045 #45FFA0
tetradic
#A045FF #FF4547 #A4FF45 #45FFFD
square
#A045FF #FF4547 #A4FF45 #45FFFD
split-complementary
#A045FF #FFFD45 #47FF45
monochromatic
#6300CA #8108FF #A045FF #BF82FF #DFBFFF

Accessibility & contrast

On white

4.38
#A045FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A045FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A045FF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045FF#FFFFFF#000000##000000
##A045FF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#8B749F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a045ff;
/* rgb */ color: rgb(160, 69, 255);
/* oklch */ color: oklch(60.6% 0.257 301.2);
Tailwind
colors: {
  custom: {
    50: '#c381ff',
    500: '#a045ff',
    950: '#000000',
  },
}
SCSS
$custom: #a045ff;
$custom-light: #c381ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a045ff",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 269.355,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.25744,
    "h": 301.2
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#A045FF
secondary
#D1F1AF
accent
#E60075
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A045FF

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

Preview Lab → · Contrast checker → · Palette generator →

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