#A239C5#A239C5

#A239C5 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.216 H 316.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A239C5
RGBrgb(162, 57, 197)
HSLhsl(285, 55%, 50%)
HSVhsv(285, 71%, 77%)
CMYKcmyk(17.8%, 71.1%, 0%, 22.7%)
CIE-LABlab(45.14, 62.87, -53.14)
CIE-LCHlch(45.14, 82.32, 319.80°)
OKLaboklab(55.47% 0.1563 -0.1495)
OKLCHoklch(55.47% 0.216 316.3)
XYZxyz(26.4399, 14.6399, 54.2455)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239C5 #5CC539
analogous
#5C39C5 #A239C5 #C539A2
triadic
#A239C5 #C5A239 #39C5A2
tetradic
#A239C5 #C55C39 #5CC539 #39A2C5
square
#A239C5 #C55C39 #5CC539 #39A2C5
split-complementary
#A239C5 #A2C539 #39C55C
monochromatic
#541E66 #7B2B96 #A239C5 #B868D3 #CF97E1

Accessibility & contrast

On white

5.35
#A239C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A239C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239C5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239C5#FFFFFF#000000##FFFFFF
##A239C51.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#396EC2
Tritanopia (blue-blind)
#A0567B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a239c5;
/* rgb */ color: rgb(162, 57, 197);
/* oklch */ color: oklch(55.5% 0.216 316.3);
Tailwind
colors: {
  custom: {
    50: '#c279d7',
    500: '#a239c5',
    950: '#000000',
  },
}
SCSS
$custom: #a239c5;
$custom-light: #c279d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a239c5",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 285,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.21627,
    "h": 316.3
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#A239C5
secondary
#9DCD8D
accent
#DE496F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A239C5

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

Preview Lab → · Contrast checker → · Palette generator →

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