#A045CF#A045CF

#A045CF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.2% C 0.210 H 311.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A045CF
RGBrgb(160, 69, 207)
HSLhsl(280, 59%, 54%)
HSVhsv(280, 67%, 81%)
CMYKcmyk(22.7%, 66.7%, 0%, 18.8%)
CIE-LABlab(47.28, 59.47, -55.48)
CIE-LCHlch(47.28, 81.33, 316.99°)
OKLaboklab(57.15% 0.1403 -0.1565)
OKLCHoklch(57.15% 0.21 311.9)
XYZxyz(27.8858, 16.2355, 60.6842)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045CF #74CF45
analogous
#5B45CF #A045CF #CF45B9
triadic
#A045CF #CFA045 #45CFA0
tetradic
#A045CF #CF5B45 #74CF45 #45B9CF
square
#A045CF #CF5B45 #74CF45 #45B9CF
split-complementary
#A045CF #B9CF45 #45CF5B
monochromatic
#5B207A #802CAB #A045CF #B976DC #D2A6E8

Accessibility & contrast

On white

4.94
#A045CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A045CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045CF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045CF#FFFFFF#000000##FFFFFF
##A045CF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#9A6184
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a045cf;
/* rgb */ color: rgb(160, 69, 207);
/* oklch */ color: oklch(57.2% 0.210 311.9);
Tailwind
colors: {
  custom: {
    50: '#c07fde',
    500: '#a045cf',
    950: '#000000',
  },
}
SCSS
$custom: #a045cf;
$custom-light: #c07fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a045cf",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 279.565,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57154,
    "c": 0.2102,
    "h": 311.9
  },
  "luminance": 0.16235
}

Semantic roles & 50–950 ramp

primary
#A045CF
secondary
#AFD59B
accent
#E2467B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A045CF

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

Preview Lab → · Contrast checker → · Palette generator →

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