#A236D3#A236D3

#A236D3 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.232 H 312.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A236D3
RGBrgb(162, 54, 211)
HSLhsl(281, 64%, 52%)
HSVhsv(281, 74%, 83%)
CMYKcmyk(23.2%, 74.4%, 0%, 17.3%)
CIE-LABlab(45.67, 66.79, -60.37)
CIE-LCHlch(45.67, 90.03, 317.89°)
OKLaboklab(56.14% 0.1574 -0.1707)
OKLCHoklch(56.14% 0.232 312.7)
XYZxyz(27.9752, 15.0237, 63.0416)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236D3 #67D336
analogous
#5436D3 #A236D3 #D336B6
triadic
#A236D3 #D3A236 #36D3A2
tetradic
#A236D3 #D35436 #67D336 #36B6D3
square
#A236D3 #D35436 #67D336 #36B6D3
split-complementary
#A236D3 #B6D336 #36D354
monochromatic
#581A75 #7E25A7 #A236D3 #B968DE #D09AE9

Accessibility & contrast

On white

5.24
#A236D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A236D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236D3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236D3#FFFFFF#000000##FFFFFF
##A236D31.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#226ED0
Tritanopia (blue-blind)
#9C5A83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a236d3;
/* rgb */ color: rgb(162, 54, 211);
/* oklch */ color: oklch(56.1% 0.232 312.7);
Tailwind
colors: {
  custom: {
    50: '#c278e1',
    500: '#a236d3',
    950: '#000000',
  },
}
SCSS
$custom: #a236d3;
$custom-light: #c278e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a236d3",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 281.274,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56144,
    "c": 0.23217,
    "h": 312.7
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#A236D3
secondary
#A5D590
accent
#E74175
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A236D3

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

Preview Lab → · Contrast checker → · Palette generator →

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