#A150B2#A150B2

#A150B2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.9% C 0.166 H 320.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A150B2
RGBrgb(161, 80, 178)
HSLhsl(290, 39%, 51%)
HSVhsv(290, 55%, 70%)
CMYKcmyk(9.6%, 55.1%, 0%, 30.2%)
CIE-LABlab(47.66, 48.50, -38.05)
CIE-LCHlch(47.66, 61.65, 321.89°)
OKLaboklab(56.92% 0.1278 -0.1056)
OKLCHoklch(56.92% 0.166 320.4)
XYZxyz(25.6015, 16.5298, 43.9529)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A150B2 #61B250
analogous
#7050B2 #A150B2 #B25092
triadic
#A150B2 #B2A150 #50B2A1
tetradic
#A150B2 #B27050 #61B250 #5092B2
square
#A150B2 #B27050 #61B250 #5092B2
split-complementary
#A150B2 #92B250 #50B270
monochromatic
#55295E #7B3C89 #A150B2 #B87AC5 #CFA5D7

Accessibility & contrast

On white

4.88
#A150B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A150B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A150B2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A150B2#FFFFFF#000000##FFFFFF
##A150B21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#A25E79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a150b2;
/* rgb */ color: rgb(161, 80, 178);
/* oklch */ color: oklch(56.9% 0.166 320.4);
Tailwind
colors: {
  custom: {
    50: '#bf85c9',
    500: '#a150b2',
    950: '#000000',
  },
}
SCSS
$custom: #a150b2;
$custom-light: #bf85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a150b2",
  "rgb": {
    "r": 161,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 289.592,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.1658,
    "h": 320.4
  },
  "luminance": 0.16529
}

Semantic roles & 50–950 ramp

primary
#A150B2
secondary
#A1C599
accent
#CF596D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A150B2

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

Preview Lab → · Contrast checker → · Palette generator →

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