#A234C2#A234C2

#A234C2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.219 H 317.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A234C2
RGBrgb(162, 52, 194)
HSLhsl(286, 58%, 48%)
HSVhsv(286, 73%, 76%)
CMYKcmyk(16.5%, 73.2%, 0%, 23.9%)
CIE-LABlab(44.28, 64.18, -52.77)
CIE-LCHlch(44.28, 83.09, 320.57°)
OKLaboklab(54.8% 0.1614 -0.1484)
OKLCHoklch(54.8% 0.219 317.4)
XYZxyz(25.8645, 14.0335, 52.3748)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234C2 #54C234
analogous
#5B34C2 #A234C2 #C2349B
triadic
#A234C2 #C2A234 #34C2A2
tetradic
#A234C2 #C25B34 #54C234 #349BC2
square
#A234C2 #C25B34 #54C234 #349BC2
split-complementary
#A234C2 #9BC234 #34C25B
monochromatic
#511A61 #7A2792 #A234C2 #BA5FD4 #CF8FE1

Accessibility & contrast

On white

5.52
#A234C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A234C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234C2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234C2#FFFFFF#000000##FFFFFF
##A234C21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#386CBF
Tritanopia (blue-blind)
#A15178
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a234c2;
/* rgb */ color: rgb(162, 52, 194);
/* oklch */ color: oklch(54.8% 0.219 317.4);
Tailwind
colors: {
  custom: {
    50: '#c276d5',
    500: '#a234c2',
    950: '#000000',
  },
}
SCSS
$custom: #a234c2;
$custom-light: #c276d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a234c2",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 286.479,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.21928,
    "h": 317.4
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#A234C2
secondary
#96CC86
accent
#E1476A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A234C2

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

Preview Lab → · Contrast checker → · Palette generator →

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