#A050B2#A050B2

#A050B2 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.8% C 0.165 H 320.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A050B2
RGBrgb(160, 80, 178)
HSLhsl(289, 39%, 51%)
HSVhsv(289, 55%, 70%)
CMYKcmyk(10.1%, 55.1%, 0%, 30.2%)
CIE-LABlab(47.53, 48.23, -38.27)
CIE-LCHlch(47.53, 61.57, 321.57°)
OKLaboklab(56.79% 0.1266 -0.1063)
OKLCHoklch(56.79% 0.165 320)
XYZxyz(25.4008, 16.4263, 43.9435)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A050B2 #62B250
analogous
#6F50B2 #A050B2 #B25093
triadic
#A050B2 #B2A050 #50B2A0
tetradic
#A050B2 #B26F50 #62B250 #5093B2
square
#A050B2 #B26F50 #62B250 #5093B2
split-complementary
#A050B2 #93B250 #50B26F
monochromatic
#54295E #7B3C89 #A050B2 #B77AC5 #CEA5D7

Accessibility & contrast

On white

4.90
#A050B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A050B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A050B2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A050B2#FFFFFF#000000##FFFFFF
##A050B21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a050b2;
/* rgb */ color: rgb(160, 80, 178);
/* oklch */ color: oklch(56.8% 0.165 320.0);
Tailwind
colors: {
  custom: {
    50: '#be85c9',
    500: '#a050b2',
    950: '#000000',
  },
}
SCSS
$custom: #a050b2;
$custom-light: #be85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a050b2",
  "rgb": {
    "r": 160,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 288.98,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.1653,
    "h": 320
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A050B2

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

Preview Lab → · Contrast checker → · Palette generator →

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