#A237D2#A237D2

#A237D2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.230 H 312.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A237D2
RGBrgb(162, 55, 210)
HSLhsl(281, 63%, 52%)
HSVhsv(281, 74%, 82%)
CMYKcmyk(22.9%, 73.8%, 0%, 17.6%)
CIE-LABlab(45.73, 66.22, -59.70)
CIE-LCHlch(45.73, 89.16, 317.96°)
OKLaboklab(56.17% 0.1566 -0.1687)
OKLCHoklch(56.17% 0.23 312.9)
XYZxyz(27.8973, 15.0677, 62.3991)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237D2 #67D237
analogous
#5537D2 #A237D2 #D237B5
triadic
#A237D2 #D2A237 #37D2A2
tetradic
#A237D2 #D25537 #67D237 #37B5D2
square
#A237D2 #D25537 #67D237 #37B5D2
split-complementary
#A237D2 #B5D237 #37D255
monochromatic
#581A74 #7E25A6 #A237D2 #B969DD #D09BE8

Accessibility & contrast

On white

5.23
#A237D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A237D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237D2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237D2#FFFFFF#000000##FFFFFF
##A237D21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#256FCF
Tritanopia (blue-blind)
#9D5A82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a237d2;
/* rgb */ color: rgb(162, 55, 210);
/* oklch */ color: oklch(56.2% 0.230 312.9);
Tailwind
colors: {
  custom: {
    50: '#c278e1',
    500: '#a237d2',
    950: '#000000',
  },
}
SCSS
$custom: #a237d2;
$custom-light: #c278e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a237d2",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 210
  },
  "hsl": {
    "h": 281.419,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56165,
    "c": 0.23021,
    "h": 312.9
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#A237D2
secondary
#A5D490
accent
#E64175
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A237D2

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

Preview Lab → · Contrast checker → · Palette generator →

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