#A234A2#A234A2

#A234A2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.192 H 327.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A234A2
RGBrgb(162, 52, 162)
HSLhsl(300, 51%, 42%)
HSVhsv(300, 68%, 64%)
CMYKcmyk(0%, 67.9%, 0%, 36.5%)
CIE-LABlab(42.38, 58.35, -36.92)
CIE-LCHlch(42.38, 69.05, 327.67°)
OKLaboklab(52.83% 0.1627 -0.1021)
OKLCHoklch(52.83% 0.192 327.9)
XYZxyz(22.6496, 12.7476, 35.4430)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234A2 #34A234
analogous
#6B34A2 #A234A2 #A2346B
triadic
#A234A2 #A2A234 #34A2A2
tetradic
#A234A2 #A26B34 #34A234 #346BA2
square
#A234A2 #A26B34 #34A234 #346BA2
split-complementary
#A234A2 #6BA234 #34A26B
monochromatic
#451645 #742574 #A234A2 #C64DC6 #D57CD5

Accessibility & contrast

On white

5.92
#A234A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A234A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234A2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234A2#FFFFFF#000000##FFFFFF
##A234A21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#A74367
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a234a2;
/* rgb */ color: rgb(162, 52, 162);
/* oklch */ color: oklch(52.8% 0.192 327.9);
Tailwind
colors: {
  custom: {
    50: '#c175be',
    500: '#a234a2',
    950: '#000000',
  },
}
SCSS
$custom: #a234a2;
$custom-light: #c175be;
$custom-dark: #000000;
JSON
{
  "hex": "#a234a2",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.19207,
    "h": 327.9
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#A234A2
secondary
#74BE74
accent
#DB4D4D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A234A2

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

Preview Lab → · Contrast checker → · Palette generator →

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