#A239C1#A239C1

#A239C1 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.213 H 317.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A239C1
RGBrgb(162, 57, 193)
HSLhsl(286, 54%, 49%)
HSVhsv(286, 70%, 76%)
CMYKcmyk(16.1%, 70.5%, 0%, 24.3%)
CIE-LABlab(44.88, 62.09, -51.22)
CIE-LCHlch(44.88, 80.49, 320.48°)
OKLaboklab(55.21% 0.1566 -0.1439)
OKLCHoklch(55.21% 0.213 317.4)
XYZxyz(25.9877, 14.4590, 51.8637)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239C1 #58C139
analogous
#5E39C1 #A239C1 #C1399C
triadic
#A239C1 #C1A239 #39C1A2
tetradic
#A239C1 #C15E39 #58C139 #399CC1
square
#A239C1 #C15E39 #58C139 #399CC1
split-complementary
#A239C1 #9CC139 #39C15E
monochromatic
#531D63 #7A2B92 #A239C1 #B966D2 #CF95E0

Accessibility & contrast

On white

5.40
#A239C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A239C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239C1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239C1#FFFFFF#000000##FFFFFF
##A239C11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#3D6DBE
Tritanopia (blue-blind)
#A15479
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a239c1;
/* rgb */ color: rgb(162, 57, 193);
/* oklch */ color: oklch(55.2% 0.213 317.4);
Tailwind
colors: {
  custom: {
    50: '#c179d4',
    500: '#a239c1',
    950: '#000000',
  },
}
SCSS
$custom: #a239c1;
$custom-light: #c179d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a239c1",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 286.324,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55213,
    "c": 0.21268,
    "h": 317.4
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#A239C1
secondary
#99CB8B
accent
#DE4A6C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A239C1

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

Preview Lab → · Contrast checker → · Palette generator →

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