#A152F8#A152F8

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

Color values

HEX#A152F8
RGBrgb(161, 82, 248)
HSLhsl(269, 92%, 65%)
HSVhsv(269, 67%, 97%)
CMYKcmyk(35.1%, 66.9%, 0%, 2.7%)
CIE-LABlab(52.27, 62.91, -70.61)
CIE-LCHlch(52.27, 94.57, 311.70°)
OKLaboklab(61.62% 0.1236 -0.201)
OKLCHoklch(61.62% 0.236 301.6)
XYZxyz(34.6545, 20.3888, 90.8984)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152F8 #A9F852
analogous
#5256F8 #A152F8 #F452F8
triadic
#A152F8 #F8A152 #52F8A1
tetradic
#A152F8 #F85256 #A9F852 #52F8F4
square
#A152F8 #F85256 #A9F852 #52F8F4
split-complementary
#A152F8 #F8F452 #56F852
monochromatic
#6308C8 #8117F6 #A152F8 #C18DFA #E1C8FD

Accessibility & contrast

On white

4.14
#A152F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A152F8#FFFFFF#000000##000000
##A152F81.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#8F789F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a152f8;
/* rgb */ color: rgb(161, 82, 248);
/* oklch */ color: oklch(61.6% 0.236 301.6);
Tailwind
colors: {
  custom: {
    50: '#c388fc',
    500: '#a152f8',
    950: '#000000',
  },
}
SCSS
$custom: #a152f8;
$custom-light: #c388fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a152f8",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 248
  },
  "hsl": {
    "h": 268.554,
    "s": 92.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61623,
    "c": 0.23593,
    "h": 301.6
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#A152F8
secondary
#D4EFB6
accent
#E60078
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A152F8

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

Preview Lab → · Contrast checker → · Palette generator →

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