#A236A6#A236A6

#A236A6 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.193 H 326.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A236A6
RGBrgb(162, 54, 166)
HSLhsl(298, 51%, 43%)
HSVhsv(298, 67%, 65%)
CMYKcmyk(2.4%, 67.5%, 0%, 34.9%)
CIE-LABlab(42.88, 58.27, -38.53)
CIE-LCHlch(42.88, 69.85, 326.53°)
OKLaboklab(53.26% 0.1606 -0.1068)
OKLCHoklch(53.26% 0.193 326.4)
XYZxyz(23.1020, 13.0744, 37.3758)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236A6 #3AA636
analogous
#6A36A6 #A236A6 #A63672
triadic
#A236A6 #A6A236 #36A6A2
tetradic
#A236A6 #A66A36 #3AA636 #3672A6
square
#A236A6 #A66A36 #3AA636 #3672A6
split-complementary
#A236A6 #72A636 #36A66A
monochromatic
#48184A #752778 #A236A6 #C352C7 #D381D6

Accessibility & contrast

On white

5.81
#A236A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A236A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236A6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236A6#FFFFFF#000000##FFFFFF
##A236A61.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA9
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#A6476A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a236a6;
/* rgb */ color: rgb(162, 54, 166);
/* oklch */ color: oklch(53.3% 0.193 326.4);
Tailwind
colors: {
  custom: {
    50: '#c176c1',
    500: '#a236a6',
    950: '#000000',
  },
}
SCSS
$custom: #a236a6;
$custom-light: #c176c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a236a6",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 297.857,
    "s": 50.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.19287,
    "h": 326.4
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#A236A6
secondary
#7BBF79
accent
#DA4D52
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A236A6

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

Preview Lab → · Contrast checker → · Palette generator →

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