#A152FF#A152FF

#A152FF is a light, highly saturated violet. Relative luminance 0.208; OKLCH L 62.1% C 0.243 H 300.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A152FF
RGBrgb(161, 82, 255)
HSLhsl(267, 100%, 66%)
HSVhsv(267, 68%, 100%)
CMYKcmyk(36.9%, 67.8%, 0%, 0%)
CIE-LABlab(52.76, 64.56, -73.70)
CIE-LCHlch(52.76, 97.98, 311.22°)
OKLaboklab(62.13% 0.1226 -0.2101)
OKLCHoklch(62.13% 0.243 300.3)
XYZxyz(35.7608, 20.8313, 96.7252)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152FF #B0FF52
analogous
#5259FF #A152FF #F852FF
triadic
#A152FF #FFA152 #52FFA1
tetradic
#A152FF #FF5259 #B0FF52 #52FFF8
square
#A152FF #FF5259 #B0FF52 #52FFF8
split-complementary
#A152FF #FFF852 #59FF52
monochromatic
#6200D7 #8015FF #A152FF #C28FFF #E4CCFF

Accessibility & contrast

On white

4.06
#A152FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A152FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152FF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152FF#FFFFFF#000000##000000
##A152FF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#8C7BA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a152ff;
/* rgb */ color: rgb(161, 82, 255);
/* oklch */ color: oklch(62.1% 0.243 300.3);
Tailwind
colors: {
  custom: {
    50: '#c388ff',
    500: '#a152ff',
    950: '#000000',
  },
}
SCSS
$custom: #a152ff;
$custom-light: #c388ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a152ff",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 267.399,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62128,
    "c": 0.24324,
    "h": 300.3
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

primary
#A152FF
secondary
#D9F3BA
accent
#E6007D
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A152FF

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

Preview Lab → · Contrast checker → · Palette generator →

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