#A834C2#A834C2

#A834C2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.222 H 319.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A834C2
RGBrgb(168, 52, 194)
HSLhsl(289, 58%, 48%)
HSVhsv(289, 73%, 76%)
CMYKcmyk(13.4%, 73.2%, 0%, 23.9%)
CIE-LABlab(45.19, 65.40, -51.27)
CIE-LCHlch(45.19, 83.10, 321.91°)
OKLaboklab(55.63% 0.1686 -0.1438)
OKLCHoklch(55.63% 0.222 319.5)
XYZxyz(27.1128, 14.6772, 52.4333)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A834C2 #4EC234
analogous
#6134C2 #A834C2 #C23495
triadic
#A834C2 #C2A834 #34C2A8
tetradic
#A834C2 #C26134 #4EC234 #3495C2
square
#A834C2 #C26134 #4EC234 #3495C2
split-complementary
#A834C2 #95C234 #34C261
monochromatic
#541A61 #7E2792 #A834C2 #BF5FD4 #D28FE1

Accessibility & contrast

On white

5.34
#A834C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A834C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A834C2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A834C2#FFFFFF#000000##FFFFFF
##A834C21.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#3F6FBF
Tritanopia (blue-blind)
#A85079
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a834c2;
/* rgb */ color: rgb(168, 52, 194);
/* oklch */ color: oklch(55.6% 0.222 319.5);
Tailwind
colors: {
  custom: {
    50: '#c677d5',
    500: '#a834c2',
    950: '#000000',
  },
}
SCSS
$custom: #a834c2;
$custom-light: #c677d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a834c2",
  "rgb": {
    "r": 168,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 289.014,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55631,
    "c": 0.2216,
    "h": 319.5
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#A834C2
secondary
#93CC86
accent
#E14763
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A834C2

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

Preview Lab → · Contrast checker → · Palette generator →

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