#A236C4#A236C4

#A236C4 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.219 H 316.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A236C4
RGBrgb(162, 54, 196)
HSLhsl(286, 57%, 49%)
HSVhsv(286, 72%, 77%)
CMYKcmyk(17.3%, 72.4%, 0%, 23.1%)
CIE-LABlab(44.67, 63.83, -53.31)
CIE-LCHlch(44.67, 83.16, 320.13°)
OKLaboklab(55.12% 0.1593 -0.15)
OKLCHoklch(55.12% 0.219 316.7)
XYZxyz(26.1818, 14.3063, 53.5961)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236C4 #58C436
analogous
#5B36C4 #A236C4 #C4369F
triadic
#A236C4 #C4A236 #36C4A2
tetradic
#A236C4 #C45B36 #58C436 #369FC4
square
#A236C4 #C45B36 #58C436 #369FC4
split-complementary
#A236C4 #9FC436 #36C45B
monochromatic
#531C64 #7A2994 #A236C4 #B963D4 #CF93E1

Accessibility & contrast

On white

5.44
#A236C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A236C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236C4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236C4#FFFFFF#000000##FFFFFF
##A236C41.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#376DC1
Tritanopia (blue-blind)
#A0537A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a236c4;
/* rgb */ color: rgb(162, 54, 196);
/* oklch */ color: oklch(55.1% 0.219 316.7);
Tailwind
colors: {
  custom: {
    50: '#c277d7',
    500: '#a236c4',
    950: '#000000',
  },
}
SCSS
$custom: #a236c4;
$custom-light: #c277d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a236c4",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 285.634,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.21881,
    "h": 316.7
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#A236C4
secondary
#99CC89
accent
#E0486C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A236C4

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

Preview Lab → · Contrast checker → · Palette generator →

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