#A150E2#A150E2

#A150E2 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.215 H 306.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A150E2
RGBrgb(161, 80, 226)
HSLhsl(273, 72%, 60%)
HSVhsv(273, 65%, 89%)
CMYKcmyk(28.8%, 64.6%, 0%, 11.4%)
CIE-LABlab(50.46, 58.79, -61.19)
CIE-LCHlch(50.46, 84.85, 313.85°)
OKLaboklab(59.85% 0.128 -0.1733)
OKLCHoklch(59.85% 0.215 306.4)
XYZxyz(31.2911, 18.8057, 73.9182)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A150E2 #91E250
analogous
#5850E2 #A150E2 #E250DA
triadic
#A150E2 #E2A150 #50E2A1
tetradic
#A150E2 #E25850 #91E250 #50DAE2
square
#A150E2 #E25850 #91E250 #50DAE2
split-complementary
#A150E2 #DAE250 #50E258
monochromatic
#631A9E #8423D2 #A150E2 #BD84EB #D9B9F3

Accessibility & contrast

On white

4.41
#A150E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A150E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A150E2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A150E2#FFFFFF#000000##000000
##A150E21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#2D79DF
Tritanopia (blue-blind)
#966F92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a150e2;
/* rgb */ color: rgb(161, 80, 226);
/* oklch */ color: oklch(59.9% 0.215 306.4);
Tailwind
colors: {
  custom: {
    50: '#c186ec',
    500: '#a150e2',
    950: '#000000',
  },
}
SCSS
$custom: #a150e2;
$custom-light: #c186ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a150e2",
  "rgb": {
    "r": 161,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 273.288,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.59854,
    "c": 0.21543,
    "h": 306.4
  },
  "luminance": 0.18805
}

Semantic roles & 50–950 ramp

primary
#A150E2
secondary
#C4E3AB
accent
#EE398A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A150E2

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

Preview Lab → · Contrast checker → · Palette generator →

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