#A236BA#A236BA

#A236BA is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.210 H 319.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A236BA
RGBrgb(162, 54, 186)
HSLhsl(289, 55%, 47%)
HSVhsv(289, 71%, 73%)
CMYKcmyk(12.9%, 71%, 0%, 27.1%)
CIE-LABlab(44.04, 61.91, -48.49)
CIE-LCHlch(44.04, 78.64, 321.93°)
OKLaboklab(54.47% 0.1602 -0.1358)
OKLCHoklch(54.47% 0.21 319.7)
XYZxyz(25.0813, 13.8661, 47.8002)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236BA #4EBA36
analogous
#6036BA #A236BA #BA3690
triadic
#A236BA #BAA236 #36BAA2
tetradic
#A236BA #BA6036 #4EBA36 #3690BA
square
#A236BA #BA6036 #4EBA36 #3690BA
split-complementary
#A236BA #90BA36 #36BA60
monochromatic
#4F1A5B #79288B #A236BA #BB5DD0 #CF8DDE

Accessibility & contrast

On white

5.57
#A236BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A236BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236BA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236BA#FFFFFF#000000##FFFFFF
##A236BA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#A24F75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a236ba;
/* rgb */ color: rgb(162, 54, 186);
/* oklch */ color: oklch(54.5% 0.210 319.7);
Tailwind
colors: {
  custom: {
    50: '#c177cf',
    500: '#a236ba',
    950: '#000000',
  },
}
SCSS
$custom: #a236ba;
$custom-light: #c177cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a236ba",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 289.091,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.21002,
    "h": 319.7
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#A236BA
secondary
#90C884
accent
#DE4965
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A236BA

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

Preview Lab → · Contrast checker → · Palette generator →

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