#A236B4#A236B4

#A236B4 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.205 H 321.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A236B4
RGBrgb(162, 54, 180)
HSLhsl(291, 54%, 46%)
HSVhsv(291, 70%, 71%)
CMYKcmyk(10%, 70%, 0%, 29.4%)
CIE-LABlab(43.68, 60.79, -45.54)
CIE-LCHlch(43.68, 75.96, 323.16°)
OKLaboklab(54.1% 0.1605 -0.1272)
OKLCHoklch(54.1% 0.205 321.6)
XYZxyz(24.4568, 13.6163, 44.5112)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236B4 #48B436
analogous
#6336B4 #A236B4 #B43687
triadic
#A236B4 #B4A236 #36B4A2
tetradic
#A236B4 #B46336 #48B436 #3687B4
square
#A236B4 #B46336 #48B436 #3687B4
split-complementary
#A236B4 #87B436 #36B463
monochromatic
#4D1A56 #782885 #A236B4 #BD5ACD #D089DC

Accessibility & contrast

On white

5.64
#A236B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A236B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236B4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236B4#FFFFFF#000000##FFFFFF
##A236B41.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015FB8
Deuteranopia (green-blind)
#466BB1
Tritanopia (blue-blind)
#A44D71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a236b4;
/* rgb */ color: rgb(162, 54, 180);
/* oklch */ color: oklch(54.1% 0.205 321.6);
Tailwind
colors: {
  custom: {
    50: '#c177cb',
    500: '#a236b4',
    950: '#000000',
  },
}
SCSS
$custom: #a236b4;
$custom-light: #c177cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a236b4",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 291.429,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54096,
    "c": 0.2048,
    "h": 321.6
  },
  "luminance": 0.13615
}

Semantic roles & 50–950 ramp

primary
#A236B4
secondary
#8AC680
accent
#DD4B60
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A236B4

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

Preview Lab → · Contrast checker → · Palette generator →

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