#A236B2#A236B2

#A236B2 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.203 H 322.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A236B2
RGBrgb(162, 54, 178)
HSLhsl(292, 53%, 45%)
HSVhsv(292, 70%, 70%)
CMYKcmyk(9%, 69.7%, 0%, 30.2%)
CIE-LABlab(43.56, 60.42, -44.55)
CIE-LCHlch(43.56, 75.07, 323.60°)
OKLaboklab(53.97% 0.1606 -0.1243)
OKLCHoklch(53.97% 0.203 322.2)
XYZxyz(24.2545, 13.5354, 43.4459)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236B2 #46B236
analogous
#6436B2 #A236B2 #B23684
triadic
#A236B2 #B2A236 #36B2A2
tetradic
#A236B2 #B26436 #46B236 #3684B2
square
#A236B2 #B26436 #46B236 #3684B2
split-complementary
#A236B2 #84B236 #36B264
monochromatic
#4D1A54 #772883 #A236B2 #BE59CD #D088DB

Accessibility & contrast

On white

5.67
#A236B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A236B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236B2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236B2#FFFFFF#000000##FFFFFF
##A236B21.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095FB6
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#A44C70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a236b2;
/* rgb */ color: rgb(162, 54, 178);
/* oklch */ color: oklch(54.0% 0.203 322.2);
Tailwind
colors: {
  custom: {
    50: '#c177c9',
    500: '#a236b2',
    950: '#000000',
  },
}
SCSS
$custom: #a236b2;
$custom-light: #c177c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a236b2",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 292.258,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.20307,
    "h": 322.2
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#A236B2
secondary
#88C57F
accent
#DD4B5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A236B2

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

Preview Lab → · Contrast checker → · Palette generator →

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