#A234C9#A234C9

#A234C9 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.225 H 315.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A234C9
RGBrgb(162, 52, 201)
HSLhsl(284, 59%, 50%)
HSVhsv(284, 74%, 79%)
CMYKcmyk(19.4%, 74.1%, 0%, 21.2%)
CIE-LABlab(44.74, 65.53, -56.10)
CIE-LCHlch(44.74, 86.27, 319.43°)
OKLaboklab(55.27% 0.1606 -0.1582)
OKLCHoklch(55.27% 0.225 315.4)
XYZxyz(26.6692, 14.3554, 56.6131)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234C9 #5BC934
analogous
#5734C9 #A234C9 #C934A6
triadic
#A234C9 #C9A234 #34C9A2
tetradic
#A234C9 #C95734 #5BC934 #34A6C9
square
#A234C9 #C95734 #5BC934 #34A6C9
split-complementary
#A234C9 #A6C934 #34C957
monochromatic
#541B68 #7B2798 #A234C9 #B963D7 #CF94E3

Accessibility & contrast

On white

5.43
#A234C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A234C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234C9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234C9#FFFFFF#000000##FFFFFF
##A234C91.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#306DC6
Tritanopia (blue-blind)
#9F557C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a234c9;
/* rgb */ color: rgb(162, 52, 201);
/* oklch */ color: oklch(55.3% 0.225 315.4);
Tailwind
colors: {
  custom: {
    50: '#c277da',
    500: '#a234c9',
    950: '#000000',
  },
}
SCSS
$custom: #a234c9;
$custom-light: #c277da;
$custom-dark: #000000;
JSON
{
  "hex": "#a234c9",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 284.295,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.2254,
    "h": 315.4
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#A234C9
secondary
#9CCE8A
accent
#E2466F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A234C9

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

Preview Lab → · Contrast checker → · Palette generator →

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