#A834CC#A834CC

#A834CC is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.230 H 316.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A834CC
RGBrgb(168, 52, 204)
HSLhsl(286, 60%, 50%)
HSVhsv(286, 75%, 80%)
CMYKcmyk(17.6%, 74.5%, 0%, 20%)
CIE-LABlab(45.83, 67.28, -56.04)
CIE-LCHlch(45.83, 87.56, 320.21°)
OKLaboklab(56.29% 0.1676 -0.1578)
OKLCHoklch(56.29% 0.23 316.7)
XYZxyz(28.2739, 15.1416, 58.5483)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A834CC #58CC34
analogous
#5C34CC #A834CC #CC34A4
triadic
#A834CC #CCA834 #34CCA8
tetradic
#A834CC #CC5C34 #58CC34 #34A4CC
square
#A834CC #CC5C34 #58CC34 #34A4CC
split-complementary
#A834CC #A4CC34 #34CC5C
monochromatic
#581B6B #80279C #A834CC #BD65D8 #D296E5

Accessibility & contrast

On white

5.21
#A834CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A834CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A834CC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A834CC#FFFFFF#000000##FFFFFF
##A834CC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#A6557E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a834cc;
/* rgb */ color: rgb(168, 52, 204);
/* oklch */ color: oklch(56.3% 0.230 316.7);
Tailwind
colors: {
  custom: {
    50: '#c677dc',
    500: '#a834cc',
    950: '#000000',
  },
}
SCSS
$custom: #a834cc;
$custom-light: #c677dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a834cc",
  "rgb": {
    "r": 168,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 285.789,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56288,
    "c": 0.23014,
    "h": 316.7
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#A834CC
secondary
#9CD08C
accent
#E3456A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A834CC

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

Preview Lab → · Contrast checker → · Palette generator →

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