#A236A7#A236A7

#A236A7 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.194 H 326.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A236A7
RGBrgb(162, 54, 167)
HSLhsl(297, 51%, 43%)
HSVhsv(297, 68%, 65%)
CMYKcmyk(3%, 67.7%, 0%, 34.5%)
CIE-LABlab(42.93, 58.44, -39.04)
CIE-LCHlch(42.93, 70.28, 326.26°)
OKLaboklab(53.32% 0.1606 -0.1083)
OKLCHoklch(53.32% 0.194 326)
XYZxyz(23.1940, 13.1112, 37.8608)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236A7 #3BA736
analogous
#6936A7 #A236A7 #A73673
triadic
#A236A7 #A7A236 #36A7A2
tetradic
#A236A7 #A76936 #3BA736 #3673A7
square
#A236A7 #A76936 #3BA736 #3673A7
split-complementary
#A236A7 #73A736 #36A769
monochromatic
#48184B #752779 #A236A7 #C253C7 #D381D6

Accessibility & contrast

On white

5.80
#A236A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A236A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236A7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236A7#FFFFFF#000000##FFFFFF
##A236A71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205DAA
Deuteranopia (green-blind)
#4E6AA4
Tritanopia (blue-blind)
#A6476A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a236a7;
/* rgb */ color: rgb(162, 54, 167);
/* oklch */ color: oklch(53.3% 0.194 326.0);
Tailwind
colors: {
  custom: {
    50: '#c176c1',
    500: '#a236a7',
    950: '#000000',
  },
}
SCSS
$custom: #a236a7;
$custom-light: #c176c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a236a7",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 297.345,
    "s": 51.131,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.19371,
    "h": 326
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#A236A7
secondary
#7CC079
accent
#DB4D53
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A236A7

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

Preview Lab → · Contrast checker → · Palette generator →

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