#A152F5#A152F5

#A152F5 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.4% C 0.233 H 302.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A152F5
RGBrgb(161, 82, 245)
HSLhsl(269, 89%, 64%)
HSVhsv(269, 67%, 96%)
CMYKcmyk(34.3%, 66.5%, 0%, 3.9%)
CIE-LABlab(52.07, 62.21, -69.27)
CIE-LCHlch(52.07, 93.10, 311.93°)
OKLaboklab(61.41% 0.124 -0.197)
OKLCHoklch(61.41% 0.233 302.2)
XYZxyz(34.1928, 20.2041, 88.4669)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152F5 #A6F552
analogous
#5255F5 #A152F5 #F352F5
triadic
#A152F5 #F5A152 #52F5A1
tetradic
#A152F5 #F55255 #A6F552 #52F5F3
square
#A152F5 #F55255 #A6F552 #52F5F3
split-complementary
#A152F5 #F5F352 #55F552
monochromatic
#640BC1 #8218F2 #A152F5 #C08CF8 #E0C6FC

Accessibility & contrast

On white

4.17
#A152F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A152F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152F5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152F5#FFFFFF#000000##000000
##A152F51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#90779D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a152f5;
/* rgb */ color: rgb(161, 82, 245);
/* oklch */ color: oklch(61.4% 0.233 302.2);
Tailwind
colors: {
  custom: {
    50: '#c288f9',
    500: '#a152f5',
    950: '#000000',
  },
}
SCSS
$custom: #a152f5;
$custom-light: #c288f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a152f5",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 269.08,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6141,
    "c": 0.23278,
    "h": 302.2
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#A152F5
secondary
#D2EEB5
accent
#E60076
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A152F5

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

Preview Lab → · Contrast checker → · Palette generator →

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