#A530D4#A530D4

#A530D4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.1% C 0.240 H 313.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A530D4
RGBrgb(165, 48, 212)
HSLhsl(283, 66%, 51%)
HSVhsv(283, 77%, 83%)
CMYKcmyk(22.2%, 77.4%, 0%, 16.9%)
CIE-LABlab(45.45, 69.61, -61.27)
CIE-LCHlch(45.45, 92.73, 318.64°)
OKLaboklab(56.1% 0.1661 -0.1732)
OKLCHoklch(56.1% 0.24 313.8)
XYZxyz(28.4556, 14.8677, 63.6454)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A530D4 #5FD430
analogous
#5330D4 #A530D4 #D430B1
triadic
#A530D4 #D4A530 #30D4A5
tetradic
#A530D4 #D45330 #5FD430 #30B1D4
square
#A530D4 #D45330 #5FD430 #30B1D4
split-complementary
#A530D4 #B1D430 #30D453
monochromatic
#581872 #7F22A5 #A530D4 #BB63DF #D195E9

Accessibility & contrast

On white

5.29
#A530D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A530D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A530D4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A530D4#FFFFFF#000000##FFFFFF
##A530D41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#1F6ED1
Tritanopia (blue-blind)
#A05782
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a530d4;
/* rgb */ color: rgb(165, 48, 212);
/* oklch */ color: oklch(56.1% 0.240 313.8);
Tailwind
colors: {
  custom: {
    50: '#c576e2',
    500: '#a530d4',
    950: '#000000',
  },
}
SCSS
$custom: #a530d4;
$custom-light: #c576e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a530d4",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 212
  },
  "hsl": {
    "h": 282.805,
    "s": 65.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56104,
    "c": 0.23995,
    "h": 313.8
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#A530D4
secondary
#A0D48C
accent
#E93F70
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#130915
muted
#827B84

Preview Lab

Preview with #A530D4

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

Preview Lab → · Contrast checker → · Palette generator →

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