#A234A4#A234A4

#A234A4 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.194 H 327.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A234A4
RGBrgb(162, 52, 164)
HSLhsl(299, 52%, 42%)
HSVhsv(299, 68%, 64%)
CMYKcmyk(1.2%, 68.3%, 0%, 35.7%)
CIE-LABlab(42.49, 58.69, -37.95)
CIE-LCHlch(42.49, 69.89, 327.12°)
OKLaboklab(52.95% 0.1627 -0.1051)
OKLCHoklch(52.95% 0.194 327.1)
XYZxyz(22.8288, 12.8192, 36.3867)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234A4 #36A434
analogous
#6A34A4 #A234A4 #A4346E
triadic
#A234A4 #A4A234 #34A4A2
tetradic
#A234A4 #A46A34 #36A434 #346EA4
square
#A234A4 #A46A34 #36A434 #346EA4
split-complementary
#A234A4 #6EA434 #34A46A
monochromatic
#461747 #742576 #A234A4 #C54EC7 #D47DD6

Accessibility & contrast

On white

5.89
#A234A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A234A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234A4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234A4#FFFFFF#000000##FFFFFF
##A234A41.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA7
Deuteranopia (green-blind)
#4F69A1
Tritanopia (blue-blind)
#A74468
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a234a4;
/* rgb */ color: rgb(162, 52, 164);
/* oklch */ color: oklch(52.9% 0.194 327.1);
Tailwind
colors: {
  custom: {
    50: '#c175bf',
    500: '#a234a4',
    950: '#000000',
  },
}
SCSS
$custom: #a234a4;
$custom-light: #c175bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a234a4",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 298.929,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.19372,
    "h": 327.1
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#A234A4
secondary
#77BF75
accent
#DB4C4F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A234A4

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

Preview Lab → · Contrast checker → · Palette generator →

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