#A239AF#A239AF

#A239AF is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.197 H 323.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A239AF
RGBrgb(162, 57, 175)
HSLhsl(293, 51%, 45%)
HSVhsv(293, 67%, 69%)
CMYKcmyk(7.4%, 67.4%, 0%, 31.4%)
CIE-LABlab(43.81, 58.69, -42.39)
CIE-LCHlch(43.81, 72.39, 324.16°)
OKLaboklab(54.09% 0.1574 -0.1181)
OKLCHoklch(54.09% 0.197 323.1)
XYZxyz(24.1005, 13.7041, 41.9249)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239AF #46AF39
analogous
#6739AF #A239AF #AF3981
triadic
#A239AF #AFA239 #39AFA2
tetradic
#A239AF #AF6739 #46AF39 #3981AF
square
#A239AF #AF6739 #46AF39 #3981AF
split-complementary
#A239AF #81AF39 #39AF67
monochromatic
#4D1B53 #772A81 #A239AF #BE5BCA #D08AD9

Accessibility & contrast

On white

5.61
#A239AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A239AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239AF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239AF#FFFFFF#000000##FFFFFF
##A239AF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#A54C6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a239af;
/* rgb */ color: rgb(162, 57, 175);
/* oklch */ color: oklch(54.1% 0.197 323.1);
Tailwind
colors: {
  custom: {
    50: '#c178c7',
    500: '#a239af',
    950: '#000000',
  },
}
SCSS
$custom: #a239af;
$custom-light: #c178c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a239af",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 293.39,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54094,
    "c": 0.19674,
    "h": 323.1
  },
  "luminance": 0.13703
}

Semantic roles & 50–950 ramp

primary
#A239AF
secondary
#88C381
accent
#DA4D5D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A239AF

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

Preview Lab → · Contrast checker → · Palette generator →

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