#A234A5#A234A5

#A234A5 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.195 H 326.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A234A5
RGBrgb(162, 52, 165)
HSLhsl(298, 52%, 43%)
HSVhsv(298, 68%, 65%)
CMYKcmyk(1.8%, 68.5%, 0%, 35.3%)
CIE-LABlab(42.54, 58.87, -38.46)
CIE-LCHlch(42.54, 70.31, 326.84°)
OKLaboklab(53.01% 0.1628 -0.1066)
OKLCHoklch(53.01% 0.195 326.8)
XYZxyz(22.9194, 12.8555, 36.8642)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234A5 #37A534
analogous
#6934A5 #A234A5 #A53470
triadic
#A234A5 #A5A234 #34A5A2
tetradic
#A234A5 #A56934 #37A534 #3470A5
square
#A234A5 #A56934 #37A534 #3470A5
split-complementary
#A234A5 #70A534 #34A569
monochromatic
#471748 #742576 #A234A5 #C44FC7 #D47DD6

Accessibility & contrast

On white

5.88
#A234A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A234A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234A5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234A5#FFFFFF#000000##FFFFFF
##A234A51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#A64568
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a234a5;
/* rgb */ color: rgb(162, 52, 165);
/* oklch */ color: oklch(53.0% 0.195 326.8);
Tailwind
colors: {
  custom: {
    50: '#c175c0',
    500: '#a234a5',
    950: '#000000',
  },
}
SCSS
$custom: #a234a5;
$custom-light: #c175c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a234a5",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 298.407,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.19454,
    "h": 326.8
  },
  "luminance": 0.12854
}

Semantic roles & 50–950 ramp

primary
#A234A5
secondary
#78BF76
accent
#DC4C50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A234A5

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

Preview Lab → · Contrast checker → · Palette generator →

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