#A237D3#A237D3

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

Color values

HEX#A237D3
RGBrgb(162, 55, 211)
HSLhsl(281, 64%, 52%)
HSVhsv(281, 74%, 83%)
CMYKcmyk(23.2%, 73.9%, 0%, 17.3%)
CIE-LABlab(45.80, 66.42, -60.16)
CIE-LCHlch(45.80, 89.62, 317.83°)
OKLaboklab(56.24% 0.1565 -0.1701)
OKLCHoklch(56.24% 0.231 312.6)
XYZxyz(28.0222, 15.1177, 63.0573)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237D3 #68D337
analogous
#5437D3 #A237D3 #D337B6
triadic
#A237D3 #D3A237 #37D3A2
tetradic
#A237D3 #D35437 #68D337 #37B6D3
square
#A237D3 #D35437 #68D337 #37B6D3
split-complementary
#A237D3 #B6D337 #37D354
monochromatic
#591A76 #7F25A8 #A237D3 #B969DE #D19BE9

Accessibility & contrast

On white

5.22
#A237D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A237D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237D3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237D3#FFFFFF#000000##FFFFFF
##A237D31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#236FD0
Tritanopia (blue-blind)
#9C5A83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a237d3;
/* rgb */ color: rgb(162, 55, 211);
/* oklch */ color: oklch(56.2% 0.231 312.6);
Tailwind
colors: {
  custom: {
    50: '#c278e1',
    500: '#a237d3',
    950: '#000000',
  },
}
SCSS
$custom: #a237d3;
$custom-light: #c278e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a237d3",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 281.154,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.23111,
    "h": 312.6
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#A237D3
secondary
#A6D591
accent
#E74175
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A237D3

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

Preview Lab → · Contrast checker → · Palette generator →

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