#A34ED8#A34ED8

#A34ED8 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.208 H 309.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A34ED8
RGBrgb(163, 78, 216)
HSLhsl(277, 64%, 58%)
HSVhsv(277, 64%, 85%)
CMYKcmyk(24.5%, 63.9%, 0%, 15.3%)
CIE-LABlab(49.73, 57.95, -56.68)
CIE-LCHlch(49.73, 81.05, 315.63°)
OKLaboklab(59.18% 0.1334 -0.16)
OKLCHoklch(59.18% 0.208 309.8)
XYZxyz(30.2209, 18.1938, 66.8722)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34ED8 #83D84E
analogous
#5E4ED8 #A34ED8 #D84EC8
triadic
#A34ED8 #D8A34E #4ED8A3
tetradic
#A34ED8 #D85E4E #83D84E #4EC8D8
square
#A34ED8 #D85E4E #83D84E #4EC8D8
split-complementary
#A34ED8 #C8D84E #4ED85E
monochromatic
#631F8D #862ABF #A34ED8 #BD80E3 #D7B2EE

Accessibility & contrast

On white

4.53
#A34ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A34ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34ED8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34ED8#FFFFFF#000000##000000
##A34ED81.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#3B78D5
Tritanopia (blue-blind)
#9C6A8C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a34ed8;
/* rgb */ color: rgb(163, 78, 216);
/* oklch */ color: oklch(59.2% 0.208 309.8);
Tailwind
colors: {
  custom: {
    50: '#c285e5',
    500: '#a34ed8',
    950: '#000000',
  },
}
SCSS
$custom: #a34ed8;
$custom-light: #c285e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ed8",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 276.957,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5918,
    "c": 0.20831,
    "h": 309.8
  },
  "luminance": 0.18193
}

Semantic roles & 50–950 ramp

primary
#A34ED8
secondary
#BADDA5
accent
#E74181
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A34ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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