#A152F6#A152F6

#A152F6 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.5% C 0.234 H 302.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A152F6
RGBrgb(161, 82, 246)
HSLhsl(269, 90%, 64%)
HSVhsv(269, 67%, 96%)
CMYKcmyk(34.6%, 66.7%, 0%, 3.5%)
CIE-LABlab(52.14, 62.45, -69.71)
CIE-LCHlch(52.14, 93.59, 311.85°)
OKLaboklab(61.48% 0.1238 -0.1983)
OKLCHoklch(61.48% 0.234 302)
XYZxyz(34.3458, 20.2654, 89.2731)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152F6 #A7F652
analogous
#5255F6 #A152F6 #F352F6
triadic
#A152F6 #F6A152 #52F6A1
tetradic
#A152F6 #F65255 #A7F652 #52F6F3
square
#A152F6 #F65255 #A7F652 #52F6F3
split-complementary
#A152F6 #F6F352 #55F652
monochromatic
#630AC3 #8118F3 #A152F6 #C18CF9 #E0C6FC

Accessibility & contrast

On white

4.16
#A152F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A152F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152F6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152F6#FFFFFF#000000##000000
##A152F61.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#8F789E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a152f6;
/* rgb */ color: rgb(161, 82, 246);
/* oklch */ color: oklch(61.5% 0.234 302.0);
Tailwind
colors: {
  custom: {
    50: '#c388fa',
    500: '#a152f6',
    950: '#000000',
  },
}
SCSS
$custom: #a152f6;
$custom-light: #c388fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a152f6",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 246
  },
  "hsl": {
    "h": 268.902,
    "s": 90.11,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61481,
    "c": 0.23383,
    "h": 302
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A152F6

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

Preview Lab → · Contrast checker → · Palette generator →

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