#A236B7#A236B7

#A236B7 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.207 H 320.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A236B7
RGBrgb(162, 54, 183)
HSLhsl(290, 54%, 46%)
HSVhsv(290, 70%, 72%)
CMYKcmyk(11.5%, 70.5%, 0%, 28.2%)
CIE-LABlab(43.86, 61.35, -47.02)
CIE-LCHlch(43.86, 77.29, 322.53°)
OKLaboklab(54.28% 0.1603 -0.1315)
OKLCHoklch(54.28% 0.207 320.6)
XYZxyz(24.7657, 13.7399, 46.1381)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236B7 #4BB736
analogous
#6236B7 #A236B7 #B7368C
triadic
#A236B7 #B7A236 #36B7A2
tetradic
#A236B7 #B76236 #4BB736 #368CB7
square
#A236B7 #B76236 #4BB736 #368CB7
split-complementary
#A236B7 #8CB736 #36B762
monochromatic
#4E1A58 #782888 #A236B7 #BC5BCF #CF8BDD

Accessibility & contrast

On white

5.60
#A236B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A236B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236B7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236B7#FFFFFF#000000##FFFFFF
##A236B71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#436BB4
Tritanopia (blue-blind)
#A34E73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a236b7;
/* rgb */ color: rgb(162, 54, 183);
/* oklch */ color: oklch(54.3% 0.207 320.6);
Tailwind
colors: {
  custom: {
    50: '#c177cd',
    500: '#a236b7',
    950: '#000000',
  },
}
SCSS
$custom: #a236b7;
$custom-light: #c177cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a236b7",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 290.233,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.2074,
    "h": 320.6
  },
  "luminance": 0.13739
}

Semantic roles & 50–950 ramp

primary
#A236B7
secondary
#8DC782
accent
#DE4A62
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A236B7

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

Preview Lab → · Contrast checker → · Palette generator →

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