#A730D1#A730D1

#A730D1 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.2% C 0.238 H 315.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A730D1
RGBrgb(167, 48, 209)
HSLhsl(284, 64%, 50%)
HSVhsv(284, 77%, 82%)
CMYKcmyk(20.1%, 77%, 0%, 18%)
CIE-LABlab(45.54, 69.39, -59.38)
CIE-LCHlch(45.54, 91.33, 319.44°)
OKLaboklab(56.16% 0.169 -0.1676)
OKLCHoklch(56.16% 0.238 315.2)
XYZxyz(28.5000, 14.9339, 61.6905)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A730D1 #5AD130
analogous
#5730D1 #A730D1 #D130AA
triadic
#A730D1 #D1A730 #30D1A7
tetradic
#A730D1 #D15730 #5AD130 #30AAD1
square
#A730D1 #D15730 #5AD130 #30AAD1
split-complementary
#A730D1 #AAD130 #30D157
monochromatic
#58186E #8024A0 #A730D1 #BC62DC #D294E7

Accessibility & contrast

On white

5.27
#A730D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A730D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A730D1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A730D1#FFFFFF#000000##FFFFFF
##A730D11.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#296FCE
Tritanopia (blue-blind)
#A45580
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a730d1;
/* rgb */ color: rgb(167, 48, 209);
/* oklch */ color: oklch(56.2% 0.238 315.2);
Tailwind
colors: {
  custom: {
    50: '#c676e0',
    500: '#a730d1',
    950: '#000000',
  },
}
SCSS
$custom: #a730d1;
$custom-light: #c676e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a730d1",
  "rgb": {
    "r": 167,
    "g": 48,
    "b": 209
  },
  "hsl": {
    "h": 284.348,
    "s": 63.636,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.23804,
    "h": 315.2
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#A730D1
secondary
#9DD28A
accent
#E7416C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #A730D1

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

Preview Lab → · Contrast checker → · Palette generator →

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