#A237C0#A237C0

#A237C0 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.214 H 317.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A237C0
RGBrgb(162, 55, 192)
HSLhsl(287, 55%, 48%)
HSVhsv(287, 71%, 75%)
CMYKcmyk(15.6%, 71.4%, 0%, 24.7%)
CIE-LABlab(44.55, 62.67, -51.18)
CIE-LCHlch(44.55, 80.91, 320.77°)
OKLaboklab(54.95% 0.1587 -0.1437)
OKLCHoklch(54.95% 0.214 317.8)
XYZxyz(25.7796, 14.2207, 51.2459)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237C0 #55C037
analogous
#5D37C0 #A237C0 #C03799
triadic
#A237C0 #C0A237 #37C0A2
tetradic
#A237C0 #C05D37 #55C037 #3799C0
square
#A237C0 #C05D37 #55C037 #3799C0
split-complementary
#A237C0 #99C037 #37C05D
monochromatic
#521C61 #7A2990 #A237C0 #BA62D2 #CF92E0

Accessibility & contrast

On white

5.46
#A237C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A237C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237C0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237C0#FFFFFF#000000##FFFFFF
##A237C01.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#3C6DBD
Tritanopia (blue-blind)
#A15278
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a237c0;
/* rgb */ color: rgb(162, 55, 192);
/* oklch */ color: oklch(55.0% 0.214 317.8);
Tailwind
colors: {
  custom: {
    50: '#c178d4',
    500: '#a237c0',
    950: '#000000',
  },
}
SCSS
$custom: #a237c0;
$custom-light: #c178d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a237c0",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 286.861,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54953,
    "c": 0.21413,
    "h": 317.8
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#A237C0
secondary
#97CB88
accent
#DF496A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A237C0

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

Preview Lab → · Contrast checker → · Palette generator →

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