#A236BC#A236BC

#A236BC is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.212 H 319.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A236BC
RGBrgb(162, 54, 188)
HSLhsl(288, 55%, 47%)
HSVhsv(288, 71%, 74%)
CMYKcmyk(13.8%, 71.3%, 0%, 26.3%)
CIE-LABlab(44.16, 62.29, -49.46)
CIE-LCHlch(44.16, 79.54, 321.55°)
OKLaboklab(54.6% 0.16 -0.1387)
OKLCHoklch(54.6% 0.212 319.1)
XYZxyz(25.2954, 13.9518, 48.9277)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236BC #50BC36
analogous
#5F36BC #A236BC #BC3693
triadic
#A236BC #BCA236 #36BCA2
tetradic
#A236BC #BC5F36 #50BC36 #3693BC
square
#A236BC #BC5F36 #50BC36 #3693BC
split-complementary
#A236BC #93BC36 #36BC5F
monochromatic
#501B5D #79288C #A236BC #BB5ED1 #CF8EDF

Accessibility & contrast

On white

5.54
#A236BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A236BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236BC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236BC#FFFFFF#000000##FFFFFF
##A236BC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#A25076
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a236bc;
/* rgb */ color: rgb(162, 54, 188);
/* oklch */ color: oklch(54.6% 0.212 319.1);
Tailwind
colors: {
  custom: {
    50: '#c177d1',
    500: '#a236bc',
    950: '#000000',
  },
}
SCSS
$custom: #a236bc;
$custom-light: #c177d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a236bc",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 288.358,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54599,
    "c": 0.21177,
    "h": 319.1
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#A236BC
secondary
#92C985
accent
#DF4966
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A236BC

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

Preview Lab → · Contrast checker → · Palette generator →

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