#A834D7#A834D7

#A834D7 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.240 H 313.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A834D7
RGBrgb(168, 52, 215)
HSLhsl(283, 67%, 52%)
HSVhsv(283, 76%, 84%)
CMYKcmyk(21.9%, 75.8%, 0%, 15.7%)
CIE-LABlab(46.56, 69.40, -61.18)
CIE-LCHlch(46.56, 92.51, 318.60°)
OKLaboklab(57.04% 0.166 -0.1728)
OKLCHoklch(57.04% 0.24 313.8)
XYZxyz(29.6401, 15.6881, 65.7436)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A834D7 #63D734
analogous
#5634D7 #A834D7 #D734B5
triadic
#A834D7 #D7A834 #34D7A8
tetradic
#A834D7 #D75634 #63D734 #34B5D7
square
#A834D7 #D75634 #63D734 #34B5D7
split-complementary
#A834D7 #B5D734 #34D756
monochromatic
#5D1879 #8422AC #A834D7 #BE67E1 #D49AEB

Accessibility & contrast

On white

5.08
#A834D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A834D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A834D7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A834D7#FFFFFF#000000##FFFFFF
##A834D71.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#2571D4
Tritanopia (blue-blind)
#A35A84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a834d7;
/* rgb */ color: rgb(168, 52, 215);
/* oklch */ color: oklch(57.0% 0.240 313.8);
Tailwind
colors: {
  custom: {
    50: '#c778e4',
    500: '#a834d7',
    950: '#000000',
  },
}
SCSS
$custom: #a834d7;
$custom-light: #c778e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a834d7",
  "rgb": {
    "r": 168,
    "g": 52,
    "b": 215
  },
  "hsl": {
    "h": 282.699,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.23962,
    "h": 313.8
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#A834D7
secondary
#A4D790
accent
#EA3E6F
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A834D7

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

Preview Lab → · Contrast checker → · Palette generator →

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