#A239A2#A239A2

#A239A2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.3% C 0.186 H 327.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A239A2
RGBrgb(162, 57, 162)
HSLhsl(300, 48%, 43%)
HSVhsv(300, 65%, 64%)
CMYKcmyk(0%, 64.8%, 0%, 36.5%)
CIE-LABlab(43.09, 56.36, -35.80)
CIE-LCHlch(43.09, 66.77, 327.57°)
OKLaboklab(53.35% 0.1571 -0.0989)
OKLCHoklch(53.35% 0.186 327.8)
XYZxyz(22.8847, 13.2178, 35.5214)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239A2 #39A239
analogous
#6D39A2 #A239A2 #A2396D
triadic
#A239A2 #A2A239 #39A2A2
tetradic
#A239A2 #A26D39 #39A239 #396DA2
square
#A239A2 #A26D39 #39A239 #396DA2
split-complementary
#A239A2 #6DA239 #39A26D
monochromatic
#471947 #752975 #A239A2 #C355C3 #D382D3

Accessibility & contrast

On white

5.76
#A239A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A239A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239A2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239A2#FFFFFF#000000##FFFFFF
##A239A21.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#A74768
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a239a2;
/* rgb */ color: rgb(162, 57, 162);
/* oklch */ color: oklch(53.3% 0.186 327.8);
Tailwind
colors: {
  custom: {
    50: '#c177be',
    500: '#a239a2',
    950: '#000000',
  },
}
SCSS
$custom: #a239a2;
$custom-light: #c177be;
$custom-dark: #000000;
JSON
{
  "hex": "#a239a2",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.18561,
    "h": 327.8
  },
  "luminance": 0.13216
}

Semantic roles & 50–950 ramp

primary
#A239A2
secondary
#7ABD7A
accent
#D85050
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A239A2

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

Preview Lab → · Contrast checker → · Palette generator →

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