#A731D0#A731D0

#A731D0 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.236 H 315.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A731D0
RGBrgb(167, 49, 208)
HSLhsl(285, 63%, 50%)
HSVhsv(285, 76%, 82%)
CMYKcmyk(19.7%, 76.4%, 0%, 18.4%)
CIE-LABlab(45.59, 68.87, -58.73)
CIE-LCHlch(45.59, 90.51, 319.54°)
OKLaboklab(56.17% 0.1684 -0.1657)
OKLCHoklch(56.17% 0.236 315.5)
XYZxyz(28.4180, 14.9673, 61.0543)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731D0 #5AD031
analogous
#5731D0 #A731D0 #D031AA
triadic
#A731D0 #D0A731 #31D0A7
tetradic
#A731D0 #D05731 #5AD031 #31AAD0
square
#A731D0 #D05731 #5AD031 #31AAD0
split-complementary
#A731D0 #AAD031 #31D057
monochromatic
#58196E #80249F #A731D0 #BC63DB #D295E7

Accessibility & contrast

On white

5.26
#A731D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A731D0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731D0#FFFFFF#000000##FFFFFF
##A731D01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#2B6FCD
Tritanopia (blue-blind)
#A45580
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a731d0;
/* rgb */ color: rgb(167, 49, 208);
/* oklch */ color: oklch(56.2% 0.236 315.5);
Tailwind
colors: {
  custom: {
    50: '#c676df',
    500: '#a731d0',
    950: '#000000',
  },
}
SCSS
$custom: #a731d0;
$custom-light: #c676df;
$custom-dark: #000000;
JSON
{
  "hex": "#a731d0",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 284.528,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.23622,
    "h": 315.5
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#A731D0
secondary
#9DD28B
accent
#E6426C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #A731D0

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

Preview Lab → · Contrast checker → · Palette generator →

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