#A150E4#A150E4

#A150E4 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.218 H 306.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A150E4
RGBrgb(161, 80, 228)
HSLhsl(273, 73%, 60%)
HSVhsv(273, 65%, 89%)
CMYKcmyk(29.4%, 64.9%, 0%, 10.6%)
CIE-LABlab(50.59, 59.24, -62.11)
CIE-LCHlch(50.59, 85.83, 313.64°)
OKLaboklab(59.99% 0.1278 -0.176)
OKLCHoklch(59.99% 0.218 306)
XYZxyz(31.5672, 18.9161, 75.3719)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A150E4 #93E450
analogous
#5750E4 #A150E4 #E450DD
triadic
#A150E4 #E4A150 #50E4A1
tetradic
#A150E4 #E45750 #93E450 #50DDE4
square
#A150E4 #E45750 #93E450 #50DDE4
split-complementary
#A150E4 #DDE450 #50E457
monochromatic
#6319A1 #8421D6 #A150E4 #BD85EC #DABAF4

Accessibility & contrast

On white

4.39
#A150E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A150E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A150E4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A150E4#FFFFFF#000000##000000
##A150E41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#2A79E1
Tritanopia (blue-blind)
#957093
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a150e4;
/* rgb */ color: rgb(161, 80, 228);
/* oklch */ color: oklch(60.0% 0.218 306.0);
Tailwind
colors: {
  custom: {
    50: '#c186ed',
    500: '#a150e4',
    950: '#000000',
  },
}
SCSS
$custom: #a150e4;
$custom-light: #c186ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a150e4",
  "rgb": {
    "r": 161,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 272.838,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59988,
    "c": 0.21752,
    "h": 306
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#A150E4
secondary
#C5E4AC
accent
#D51069
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A150E4

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

Preview Lab → · Contrast checker → · Palette generator →

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