#A237D1#A237D1

#A237D1 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.229 H 313.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A237D1
RGBrgb(162, 55, 209)
HSLhsl(282, 63%, 52%)
HSVhsv(282, 74%, 82%)
CMYKcmyk(22.5%, 73.7%, 0%, 18%)
CIE-LABlab(45.66, 66.02, -59.23)
CIE-LCHlch(45.66, 88.70, 318.10°)
OKLaboklab(56.1% 0.1568 -0.1674)
OKLCHoklch(56.1% 0.229 313.1)
XYZxyz(27.7731, 15.0181, 61.7450)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237D1 #66D137
analogous
#5537D1 #A237D1 #D137B3
triadic
#A237D1 #D1A237 #37D1A2
tetradic
#A237D1 #D15537 #66D137 #37B3D1
square
#A237D1 #D15537 #66D137 #37B3D1
split-complementary
#A237D1 #B3D137 #37D155
monochromatic
#581A73 #7E26A5 #A237D1 #B969DC #D09BE8

Accessibility & contrast

On white

5.25
#A237D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A237D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237D1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237D1#FFFFFF#000000##FFFFFF
##A237D11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#276ECE
Tritanopia (blue-blind)
#9D5A82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a237d1;
/* rgb */ color: rgb(162, 55, 209);
/* oklch */ color: oklch(56.1% 0.229 313.1);
Tailwind
colors: {
  custom: {
    50: '#c278e0',
    500: '#a237d1',
    950: '#000000',
  },
}
SCSS
$custom: #a237d1;
$custom-light: #c278e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a237d1",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 281.688,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56096,
    "c": 0.22932,
    "h": 313.1
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A237D1

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

Preview Lab → · Contrast checker → · Palette generator →

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