#A052F5#A052F5

#A052F5 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.233 H 301.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A052F5
RGBrgb(160, 82, 245)
HSLhsl(269, 89%, 64%)
HSVhsv(269, 67%, 96%)
CMYKcmyk(34.7%, 66.5%, 0%, 3.9%)
CIE-LABlab(51.95, 62.02, -69.46)
CIE-LCHlch(51.95, 93.12, 311.76°)
OKLaboklab(61.3% 0.1226 -0.1976)
OKLCHoklch(61.3% 0.233 301.8)
XYZxyz(33.9920, 20.1006, 88.4575)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052F5 #A7F552
analogous
#5256F5 #A052F5 #F252F5
triadic
#A052F5 #F5A052 #52F5A0
tetradic
#A052F5 #F55256 #A7F552 #52F5F2
square
#A052F5 #F55256 #A7F552 #52F5F2
split-complementary
#A052F5 #F5F252 #56F552
monochromatic
#620BC1 #8018F2 #A052F5 #C08CF8 #E0C6FC

Accessibility & contrast

On white

4.18
#A052F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A052F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052F5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052F5#FFFFFF#000000##000000
##A052F51.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#8E779D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a052f5;
/* rgb */ color: rgb(160, 82, 245);
/* oklch */ color: oklch(61.3% 0.233 301.8);
Tailwind
colors: {
  custom: {
    50: '#c288f9',
    500: '#a052f5',
    950: '#000000',
  },
}
SCSS
$custom: #a052f5;
$custom-light: #c288f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a052f5",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 268.712,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.2326,
    "h": 301.8
  },
  "luminance": 0.20101
}

Semantic roles & 50–950 ramp

primary
#A052F5
secondary
#D3EEB5
accent
#E60078
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A052F5

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

Preview Lab → · Contrast checker → · Palette generator →

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