#A237BF#A237BF

#A237BF is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.213 H 318.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A237BF
RGBrgb(162, 55, 191)
HSLhsl(287, 55%, 48%)
HSVhsv(287, 71%, 75%)
CMYKcmyk(15.2%, 71.2%, 0%, 25.1%)
CIE-LABlab(44.48, 62.48, -50.70)
CIE-LCHlch(44.48, 80.46, 320.94°)
OKLaboklab(54.89% 0.1588 -0.1423)
OKLCHoklch(54.89% 0.213 318.1)
XYZxyz(25.6691, 14.1765, 50.6643)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237BF #54BF37
analogous
#5E37BF #A237BF #BF3798
triadic
#A237BF #BFA237 #37BFA2
tetradic
#A237BF #BF5E37 #54BF37 #3798BF
square
#A237BF #BF5E37 #54BF37 #3798BF
split-complementary
#A237BF #98BF37 #37BF5E
monochromatic
#511C60 #7A298F #A237BF #BA62D2 #CF91DF

Accessibility & contrast

On white

5.48
#A237BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A237BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237BF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237BF#FFFFFF#000000##FFFFFF
##A237BF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#3D6DBC
Tritanopia (blue-blind)
#A15278
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a237bf;
/* rgb */ color: rgb(162, 55, 191);
/* oklch */ color: oklch(54.9% 0.213 318.1);
Tailwind
colors: {
  custom: {
    50: '#c178d3',
    500: '#a237bf',
    950: '#000000',
  },
}
SCSS
$custom: #a237bf;
$custom-light: #c178d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a237bf",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 287.206,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.21324,
    "h": 318.1
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

primary
#A237BF
secondary
#96CA88
accent
#DF4969
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A237BF

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

Preview Lab → · Contrast checker → · Palette generator →

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