#A34EBA#A34EBA

#A34EBA is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.178 H 318.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A34EBA
RGBrgb(163, 78, 186)
HSLhsl(287, 44%, 52%)
HSVhsv(287, 58%, 73%)
CMYKcmyk(12.4%, 58.1%, 0%, 27.1%)
CIE-LABlab(47.98, 51.63, -42.19)
CIE-LCHlch(47.98, 66.68, 320.75°)
OKLaboklab(57.35% 0.1335 -0.1176)
OKLCHoklch(57.35% 0.178 318.6)
XYZxyz(26.6904, 16.7816, 48.2781)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34EBA #65BA4E
analogous
#6D4EBA #A34EBA #BA4E9B
triadic
#A34EBA #BAA34E #4EBAA3
tetradic
#A34EBA #BA6D4E #65BA4E #4E9BBA
square
#A34EBA #BA6D4E #65BA4E #4E9BBA
split-complementary
#A34EBA #9BBA4E #4EBA6D
monochromatic
#592866 #7F3992 #A34EBA #BA7ACB #D1A6DC

Accessibility & contrast

On white

4.82
#A34EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A34EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34EBA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34EBA#FFFFFF#000000##FFFFFF
##A34EBA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBD
Deuteranopia (green-blind)
#5475B7
Tritanopia (blue-blind)
#A35F7D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a34eba;
/* rgb */ color: rgb(163, 78, 186);
/* oklch */ color: oklch(57.4% 0.178 318.6);
Tailwind
colors: {
  custom: {
    50: '#c184cf',
    500: '#a34eba',
    950: '#000000',
  },
}
SCSS
$custom: #a34eba;
$custom-light: #c184cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a34eba",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 287.222,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5735,
    "c": 0.17789,
    "h": 318.6
  },
  "luminance": 0.1678
}

Semantic roles & 50–950 ramp

primary
#A34EBA
secondary
#A4CA9A
accent
#D4546F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A34EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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