#A152D7#A152D7

#A152D7 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.201 H 308.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A152D7
RGBrgb(161, 82, 215)
HSLhsl(276, 62%, 58%)
HSVhsv(276, 62%, 84%)
CMYKcmyk(25.1%, 61.9%, 0%, 15.7%)
CIE-LABlab(50.12, 55.36, -55.50)
CIE-LCHlch(50.12, 78.38, 314.93°)
OKLaboklab(59.39% 0.1263 -0.1566)
OKLCHoklch(59.39% 0.201 308.9)
XYZxyz(29.9785, 18.5184, 66.2720)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152D7 #88D752
analogous
#5E52D7 #A152D7 #D752CA
triadic
#A152D7 #D7A152 #52D7A1
tetradic
#A152D7 #D75E52 #88D752 #52CAD7
square
#A152D7 #D75E52 #88D752 #52CAD7
split-complementary
#A152D7 #CAD752 #52D75E
monochromatic
#62218E #842CC0 #A152D7 #BC84E2 #D7B5EE

Accessibility & contrast

On white

4.46
#A152D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A152D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152D7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152D7#FFFFFF#000000##000000
##A152D71.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D74DB
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#996C8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a152d7;
/* rgb */ color: rgb(161, 82, 215);
/* oklch */ color: oklch(59.4% 0.201 308.9);
Tailwind
colors: {
  custom: {
    50: '#c087e4',
    500: '#a152d7',
    950: '#000000',
  },
}
SCSS
$custom: #a152d7;
$custom-light: #c087e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a152d7",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 275.639,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59387,
    "c": 0.20116,
    "h": 308.9
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#A152D7
secondary
#BDDDA8
accent
#E64285
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A152D7

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

Preview Lab → · Contrast checker → · Palette generator →

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