#A237A6#A237A6

#A237A6 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.192 H 326.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A237A6
RGBrgb(162, 55, 166)
HSLhsl(298, 50%, 43%)
HSVhsv(298, 67%, 65%)
CMYKcmyk(2.4%, 66.9%, 0%, 34.9%)
CIE-LABlab(43.02, 57.87, -38.30)
CIE-LCHlch(43.02, 69.40, 326.50°)
OKLaboklab(53.36% 0.1595 -0.1062)
OKLCHoklch(53.36% 0.192 326.4)
XYZxyz(23.1490, 13.1684, 37.3915)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237A6 #3BA637
analogous
#6A37A6 #A237A6 #A63772
triadic
#A237A6 #A6A237 #37A6A2
tetradic
#A237A6 #A66A37 #3BA637 #3772A6
square
#A237A6 #A66A37 #3BA637 #3772A6
split-complementary
#A237A6 #72A637 #37A66A
monochromatic
#48194A #752878 #A237A6 #C254C6 #D382D6

Accessibility & contrast

On white

5.78
#A237A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A237A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237A6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237A6#FFFFFF#000000##FFFFFF
##A237A61.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DA9
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#A6476A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a237a6;
/* rgb */ color: rgb(162, 55, 166);
/* oklch */ color: oklch(53.4% 0.192 326.4);
Tailwind
colors: {
  custom: {
    50: '#c177c1',
    500: '#a237a6',
    950: '#000000',
  },
}
SCSS
$custom: #a237a6;
$custom-light: #c177c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a237a6",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 297.838,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.19159,
    "h": 326.4
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#A237A6
secondary
#7CBF7A
accent
#DA4E53
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A237A6

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

Preview Lab → · Contrast checker → · Palette generator →

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