#A050D2#A050D2

#A050D2 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.7% C 0.198 H 310.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A050D2
RGBrgb(160, 80, 210)
HSLhsl(277, 59%, 57%)
HSVhsv(277, 62%, 82%)
CMYKcmyk(23.8%, 61.9%, 0%, 17.6%)
CIE-LABlab(49.33, 54.99, -53.91)
CIE-LCHlch(49.33, 77.01, 315.57°)
OKLaboklab(58.69% 0.1276 -0.1519)
OKLCHoklch(58.69% 0.198 310)
XYZxyz(28.9965, 17.8646, 62.8810)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A050D2 #82D250
analogous
#5F50D2 #A050D2 #D250C3
triadic
#A050D2 #D2A050 #50D2A0
tetradic
#A050D2 #D25F50 #82D250 #50C3D2
square
#A050D2 #D25F50 #82D250 #50C3D2
split-complementary
#A050D2 #C3D250 #50D25F
monochromatic
#5F2285 #822FB6 #A050D2 #BA81DF #D5B1EB

Accessibility & contrast

On white

4.59
#A050D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A050D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A050D2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A050D2#FFFFFF#000000##FFFFFF
##A050D21.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1272D6
Deuteranopia (green-blind)
#4077CF
Tritanopia (blue-blind)
#99698A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a050d2;
/* rgb */ color: rgb(160, 80, 210);
/* oklch */ color: oklch(58.7% 0.198 310.0);
Tailwind
colors: {
  custom: {
    50: '#c085e0',
    500: '#a050d2',
    950: '#000000',
  },
}
SCSS
$custom: #a050d2;
$custom-light: #c085e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a050d2",
  "rgb": {
    "r": 160,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 276.923,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58691,
    "c": 0.19839,
    "h": 310
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#A050D2
secondary
#B9D9A4
accent
#E24682
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A050D2

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

Preview Lab → · Contrast checker → · Palette generator →

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