#A234C5#A234C5

#A234C5 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.222 H 316.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A234C5
RGBrgb(162, 52, 197)
HSLhsl(286, 58%, 49%)
HSVhsv(286, 74%, 77%)
CMYKcmyk(17.8%, 73.6%, 0%, 22.7%)
CIE-LABlab(44.48, 64.76, -54.21)
CIE-LCHlch(44.48, 84.45, 320.07°)
OKLaboklab(55% 0.1611 -0.1526)
OKLCHoklch(55% 0.222 316.6)
XYZxyz(26.2048, 14.1697, 54.1672)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234C5 #57C534
analogous
#5A34C5 #A234C5 #C534A0
triadic
#A234C5 #C5A234 #34C5A2
tetradic
#A234C5 #C55A34 #57C534 #34A0C5
square
#A234C5 #C55A34 #57C534 #34A0C5
split-complementary
#A234C5 #A0C534 #34C55A
monochromatic
#521A64 #7A2795 #A234C5 #B961D5 #CF91E2

Accessibility & contrast

On white

5.48
#A234C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A234C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234C5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234C5#FFFFFF#000000##FFFFFF
##A234C51.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#356CC2
Tritanopia (blue-blind)
#A0537A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a234c5;
/* rgb */ color: rgb(162, 52, 197);
/* oklch */ color: oklch(55.0% 0.222 316.6);
Tailwind
colors: {
  custom: {
    50: '#c276d7',
    500: '#a234c5',
    950: '#000000',
  },
}
SCSS
$custom: #a234c5;
$custom-light: #c276d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a234c5",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 285.517,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.22189,
    "h": 316.6
  },
  "luminance": 0.14169
}

Semantic roles & 50–950 ramp

primary
#A234C5
secondary
#99CD88
accent
#E1466C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A234C5

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

Preview Lab → · Contrast checker → · Palette generator →

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