#A239A3#A239A3

#A239A3 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.4% C 0.186 H 327.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A239A3
RGBrgb(162, 57, 163)
HSLhsl(299, 48%, 43%)
HSVhsv(299, 65%, 64%)
CMYKcmyk(0.6%, 65%, 0%, 36.1%)
CIE-LABlab(43.14, 56.53, -36.32)
CIE-LCHlch(43.14, 67.19, 327.29°)
OKLaboklab(53.4% 0.1571 -0.1004)
OKLCHoklch(53.4% 0.186 327.4)
XYZxyz(22.9739, 13.2535, 35.9914)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239A3 #3AA339
analogous
#6D39A3 #A239A3 #A3396F
triadic
#A239A3 #A3A239 #39A3A2
tetradic
#A239A3 #A36D39 #3AA339 #396FA3
square
#A239A3 #A36D39 #3AA339 #396FA3
split-complementary
#A239A3 #6FA339 #39A36D
monochromatic
#481948 #752976 #A239A3 #C355C4 #D383D4

Accessibility & contrast

On white

5.75
#A239A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A239A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239A3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239A3#FFFFFF#000000##FFFFFF
##A239A31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#526BA0
Tritanopia (blue-blind)
#A74769
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a239a3;
/* rgb */ color: rgb(162, 57, 163);
/* oklch */ color: oklch(53.4% 0.186 327.4);
Tailwind
colors: {
  custom: {
    50: '#c178bf',
    500: '#a239a3',
    950: '#000000',
  },
}
SCSS
$custom: #a239a3;
$custom-light: #c178bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a239a3",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 163
  },
  "hsl": {
    "h": 299.434,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53401,
    "c": 0.18645,
    "h": 327.4
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#A239A3
secondary
#7BBD7A
accent
#D85051
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A239A3

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

Preview Lab → · Contrast checker → · Palette generator →

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