#A236C8#A236C8

#A236C8 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.222 H 315.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A236C8
RGBrgb(162, 54, 200)
HSLhsl(284, 57%, 50%)
HSVhsv(284, 73%, 78%)
CMYKcmyk(19%, 73%, 0%, 21.6%)
CIE-LABlab(44.93, 64.60, -55.22)
CIE-LCHlch(44.93, 84.99, 319.48°)
OKLaboklab(55.39% 0.1589 -0.1556)
OKLCHoklch(55.39% 0.222 315.6)
XYZxyz(26.6431, 14.4909, 56.0259)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236C8 #5CC836
analogous
#5936C8 #A236C8 #C836A5
triadic
#A236C8 #C8A236 #36C8A2
tetradic
#A236C8 #C85936 #5CC836 #36A5C8
square
#A236C8 #C85936 #5CC836 #36A5C8
split-complementary
#A236C8 #A5C836 #36C859
monochromatic
#541C68 #7B2998 #A236C8 #B866D6 #CF96E3

Accessibility & contrast

On white

5.39
#A236C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A236C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236C8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236C8#FFFFFF#000000##FFFFFF
##A236C81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#336DC5
Tritanopia (blue-blind)
#9F557C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a236c8;
/* rgb */ color: rgb(162, 54, 200);
/* oklch */ color: oklch(55.4% 0.222 315.6);
Tailwind
colors: {
  custom: {
    50: '#c277d9',
    500: '#a236c8',
    950: '#000000',
  },
}
SCSS
$custom: #a236c8;
$custom-light: #c277d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a236c8",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 284.384,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55388,
    "c": 0.22236,
    "h": 315.6
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#A236C8
secondary
#9DCE8C
accent
#E1476F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A236C8

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

Preview Lab → · Contrast checker → · Palette generator →

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