#A236D7#A236D7

#A236D7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.236 H 311.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A236D7
RGBrgb(162, 54, 215)
HSLhsl(280, 67%, 53%)
HSVhsv(280, 75%, 84%)
CMYKcmyk(24.7%, 74.9%, 0%, 15.7%)
CIE-LABlab(45.94, 67.60, -62.22)
CIE-LCHlch(45.94, 91.87, 317.37°)
OKLaboklab(56.43% 0.1567 -0.1761)
OKLCHoklch(56.43% 0.236 311.7)
XYZxyz(28.4829, 15.2268, 65.7154)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236D7 #6BD736
analogous
#5136D7 #A236D7 #D736BC
triadic
#A236D7 #D7A236 #36D7A2
tetradic
#A236D7 #D75136 #6BD736 #36BCD7
square
#A236D7 #D75136 #6BD736 #36BCD7
split-complementary
#A236D7 #BCD736 #36D751
monochromatic
#5A187A #8022AD #A236D7 #BA69E1 #D19CEB

Accessibility & contrast

On white

5.19
#A236D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A236D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236D7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236D7#FFFFFF#000000##FFFFFF
##A236D71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#196FD4
Tritanopia (blue-blind)
#9B5C85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a236d7;
/* rgb */ color: rgb(162, 54, 215);
/* oklch */ color: oklch(56.4% 0.236 311.7);
Tailwind
colors: {
  custom: {
    50: '#c378e4',
    500: '#a236d7',
    950: '#000000',
  },
}
SCSS
$custom: #a236d7;
$custom-light: #c378e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a236d7",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 280.248,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56427,
    "c": 0.23575,
    "h": 311.7
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#A236D7
secondary
#A8D792
accent
#EA3E77
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A236D7

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

Preview Lab → · Contrast checker → · Palette generator →

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