#A237B2#A237B2

#A237B2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.202 H 322.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A237B2
RGBrgb(162, 55, 178)
HSLhsl(292, 53%, 46%)
HSVhsv(292, 69%, 70%)
CMYKcmyk(9%, 69.1%, 0%, 30.2%)
CIE-LABlab(43.70, 60.03, -44.33)
CIE-LCHlch(43.70, 74.63, 323.56°)
OKLaboklab(54.07% 0.1595 -0.1237)
OKLCHoklch(54.07% 0.202 322.2)
XYZxyz(24.3015, 13.6294, 43.4616)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237B2 #47B237
analogous
#6437B2 #A237B2 #B23784
triadic
#A237B2 #B2A237 #37B2A2
tetradic
#A237B2 #B26437 #47B237 #3784B2
square
#A237B2 #B26437 #47B237 #3784B2
split-complementary
#A237B2 #84B237 #37B264
monochromatic
#4D1A54 #772983 #A237B2 #BD5ACC #D089DB

Accessibility & contrast

On white

5.64
#A237B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A237B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237B2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237B2#FFFFFF#000000##FFFFFF
##A237B21.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB6
Deuteranopia (green-blind)
#486BAF
Tritanopia (blue-blind)
#A44C70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a237b2;
/* rgb */ color: rgb(162, 55, 178);
/* oklch */ color: oklch(54.1% 0.202 322.2);
Tailwind
colors: {
  custom: {
    50: '#c177c9',
    500: '#a237b2',
    950: '#000000',
  },
}
SCSS
$custom: #a237b2;
$custom-light: #c177c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a237b2",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 292.195,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.20185,
    "h": 322.2
  },
  "luminance": 0.13628
}

Semantic roles & 50–950 ramp

primary
#A237B2
secondary
#89C580
accent
#DC4C5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A237B2

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

Preview Lab → · Contrast checker → · Palette generator →

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