#A734C7#A734C7

#A734C7 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.225 H 317.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A734C7
RGBrgb(167, 52, 199)
HSLhsl(287, 59%, 49%)
HSVhsv(287, 74%, 78%)
CMYKcmyk(16.1%, 73.9%, 0%, 22%)
CIE-LABlab(45.35, 66.13, -53.91)
CIE-LCHlch(45.35, 85.32, 320.81°)
OKLaboklab(55.82% 0.1669 -0.1516)
OKLCHoklch(55.82% 0.225 317.8)
XYZxyz(27.4717, 14.7962, 55.4306)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A734C7 #54C734
analogous
#5E34C7 #A734C7 #C7349E
triadic
#A734C7 #C7A734 #34C7A7
tetradic
#A734C7 #C75E34 #54C734 #349EC7
square
#A734C7 #C75E34 #54C734 #349EC7
split-complementary
#A734C7 #9EC734 #34C75E
monochromatic
#561B66 #7E2796 #A734C7 #BD62D6 #D193E3

Accessibility & contrast

On white

5.30
#A734C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A734C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A734C7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A734C7#FFFFFF#000000##FFFFFF
##A734C71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#396FC4
Tritanopia (blue-blind)
#A6537B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a734c7;
/* rgb */ color: rgb(167, 52, 199);
/* oklch */ color: oklch(55.8% 0.225 317.8);
Tailwind
colors: {
  custom: {
    50: '#c577d9',
    500: '#a734c7',
    950: '#000000',
  },
}
SCSS
$custom: #a734c7;
$custom-light: #c577d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a734c7",
  "rgb": {
    "r": 167,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 286.939,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.22548,
    "h": 317.8
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#A734C7
secondary
#98CE89
accent
#E24668
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A734C7

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

Preview Lab → · Contrast checker → · Palette generator →

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