#A236A8#A236A8

#A236A8 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.195 H 325.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A236A8
RGBrgb(162, 54, 168)
HSLhsl(297, 51%, 44%)
HSVhsv(297, 68%, 66%)
CMYKcmyk(3.6%, 67.9%, 0%, 34.1%)
CIE-LABlab(42.99, 58.62, -39.54)
CIE-LCHlch(42.99, 70.71, 326.00°)
OKLaboklab(53.38% 0.1606 -0.1097)
OKLCHoklch(53.38% 0.195 325.7)
XYZxyz(23.2868, 13.1483, 38.3495)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236A8 #3CA836
analogous
#6936A8 #A236A8 #A83675
triadic
#A236A8 #A8A236 #36A8A2
tetradic
#A236A8 #A86936 #3CA836 #3675A8
square
#A236A8 #A86936 #3CA836 #3675A8
split-complementary
#A236A8 #75A836 #36A869
monochromatic
#49184B #75277A #A236A8 #C253C8 #D282D7

Accessibility & contrast

On white

5.79
#A236A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A236A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236A8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236A8#FFFFFF#000000##FFFFFF
##A236A81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5DAB
Deuteranopia (green-blind)
#4E6AA5
Tritanopia (blue-blind)
#A6476B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a236a8;
/* rgb */ color: rgb(162, 54, 168);
/* oklch */ color: oklch(53.4% 0.195 325.7);
Tailwind
colors: {
  custom: {
    50: '#c176c2',
    500: '#a236a8',
    950: '#000000',
  },
}
SCSS
$custom: #a236a8;
$custom-light: #c176c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a236a8",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 296.842,
    "s": 51.351,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53376,
    "c": 0.19455,
    "h": 325.7
  },
  "luminance": 0.13147
}

Semantic roles & 50–950 ramp

primary
#A236A8
secondary
#7DC07A
accent
#DB4D54
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A236A8

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

Preview Lab → · Contrast checker → · Palette generator →

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