#A452F3#A452F3

#A452F3 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.6% C 0.231 H 303.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A452F3
RGBrgb(164, 82, 243)
HSLhsl(271, 87%, 64%)
HSVhsv(271, 66%, 95%)
CMYKcmyk(32.5%, 66.3%, 0%, 4.7%)
CIE-LABlab(52.28, 62.34, -67.78)
CIE-LCHlch(52.28, 92.09, 312.61°)
OKLaboklab(61.6% 0.1281 -0.1926)
OKLCHoklch(61.6% 0.231 303.6)
XYZxyz(34.5011, 20.3982, 86.8963)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452F3 #A1F352
analogous
#5352F3 #A452F3 #F352F1
triadic
#A452F3 #F3A452 #52F3A4
tetradic
#A452F3 #F35352 #A1F352 #52F1F3
square
#A452F3 #F35352 #A1F352 #52F1F3
split-complementary
#A452F3 #F1F352 #52F353
monochromatic
#670DBD #8619EF #A452F3 #C28BF7 #E0C4FB

Accessibility & contrast

On white

4.13
#A452F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A452F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452F3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452F3#FFFFFF#000000##000000
##A452F31.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0F7CF0
Tritanopia (blue-blind)
#95769C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a452f3;
/* rgb */ color: rgb(164, 82, 243);
/* oklch */ color: oklch(61.6% 0.231 303.6);
Tailwind
colors: {
  custom: {
    50: '#c488f8',
    500: '#a452f3',
    950: '#000000',
  },
}
SCSS
$custom: #a452f3;
$custom-light: #c488f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a452f3",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 270.559,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.616,
    "c": 0.23129,
    "h": 303.6
  },
  "luminance": 0.20398
}

Semantic roles & 50–950 ramp

primary
#A452F3
secondary
#D0EDB4
accent
#E40271
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A452F3

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

Preview Lab → · Contrast checker → · Palette generator →

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