#A237AF#A237AF

#A237AF is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.199 H 323.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A237AF
RGBrgb(162, 55, 175)
HSLhsl(294, 52%, 45%)
HSVhsv(294, 69%, 69%)
CMYKcmyk(7.4%, 68.6%, 0%, 31.4%)
CIE-LABlab(43.52, 59.48, -42.84)
CIE-LCHlch(43.52, 73.30, 324.24°)
OKLaboklab(53.89% 0.1596 -0.1194)
OKLCHoklch(53.89% 0.199 323.2)
XYZxyz(24.0036, 13.5103, 41.8925)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237AF #44AF37
analogous
#6637AF #A237AF #AF3780
triadic
#A237AF #AFA237 #37AFA2
tetradic
#A237AF #AF6637 #44AF37 #3780AF
square
#A237AF #AF6637 #44AF37 #3780AF
split-complementary
#A237AF #80AF37 #37AF66
monochromatic
#4C1A52 #772880 #A237AF #BE59CB #D087D9

Accessibility & contrast

On white

5.67
#A237AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A237AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237AF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237AF#FFFFFF#000000##FFFFFF
##A237AF1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB2
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#A54B6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a237af;
/* rgb */ color: rgb(162, 55, 175);
/* oklch */ color: oklch(53.9% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#c177c7',
    500: '#a237af',
    950: '#000000',
  },
}
SCSS
$custom: #a237af;
$custom-light: #c177c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a237af",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 293.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.19926,
    "h": 323.2
  },
  "luminance": 0.13509
}

Semantic roles & 50–950 ramp

primary
#A237AF
secondary
#86C37F
accent
#DC4C5C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A237AF

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

Preview Lab → · Contrast checker → · Palette generator →

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