#A236D2#A236D2

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

Color values

HEX#A236D2
RGBrgb(162, 54, 210)
HSLhsl(282, 63%, 52%)
HSVhsv(282, 74%, 82%)
CMYKcmyk(22.9%, 74.3%, 0%, 17.6%)
CIE-LABlab(45.60, 66.59, -59.91)
CIE-LCHlch(45.60, 89.57, 318.02°)
OKLaboklab(56.07% 0.1575 -0.1693)
OKLCHoklch(56.07% 0.231 312.9)
XYZxyz(27.8502, 14.9737, 62.3834)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236D2 #66D236
analogous
#5436D2 #A236D2 #D236B4
triadic
#A236D2 #D2A236 #36D2A2
tetradic
#A236D2 #D25436 #66D236 #36B4D2
square
#A236D2 #D25436 #66D236 #36B4D2
split-complementary
#A236D2 #B4D236 #36D254
monochromatic
#581A74 #7E25A6 #A236D2 #B968DD #D09AE8

Accessibility & contrast

On white

5.26
#A236D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A236D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236D2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236D2#FFFFFF#000000##FFFFFF
##A236D21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#246ECF
Tritanopia (blue-blind)
#9D5A82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a236d2;
/* rgb */ color: rgb(162, 54, 210);
/* oklch */ color: oklch(56.1% 0.231 312.9);
Tailwind
colors: {
  custom: {
    50: '#c278e1',
    500: '#a236d2',
    950: '#000000',
  },
}
SCSS
$custom: #a236d2;
$custom-light: #c278e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a236d2",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 210
  },
  "hsl": {
    "h": 281.538,
    "s": 63.415,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.23128,
    "h": 312.9
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#A236D2
secondary
#A5D490
accent
#E64174
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A236D2

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

Preview Lab → · Contrast checker → · Palette generator →

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