#A239BC#A239BC

#A239BC is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.208 H 318.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A239BC
RGBrgb(162, 57, 188)
HSLhsl(288, 53%, 48%)
HSVhsv(288, 70%, 74%)
CMYKcmyk(13.8%, 69.7%, 0%, 26.3%)
CIE-LABlab(44.57, 61.13, -48.80)
CIE-LCHlch(44.57, 78.22, 321.40°)
OKLaboklab(54.89% 0.157 -0.1368)
OKLCHoklch(54.89% 0.208 318.9)
XYZxyz(25.4393, 14.2397, 48.9757)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239BC #53BC39
analogous
#6139BC #A239BC #BC3994
triadic
#A239BC #BCA239 #39BCA2
tetradic
#A239BC #BC6139 #53BC39 #3994BC
square
#A239BC #BC6139 #53BC39 #3994BC
split-complementary
#A239BC #94BC39 #39BC61
monochromatic
#511D5E #7A2B8D #A239BC #BA63D0 #CF92DE

Accessibility & contrast

On white

5.46
#A239BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A239BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239BC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239BC#FFFFFF#000000##FFFFFF
##A239BC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#416DB9
Tritanopia (blue-blind)
#A25277
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a239bc;
/* rgb */ color: rgb(162, 57, 188);
/* oklch */ color: oklch(54.9% 0.208 318.9);
Tailwind
colors: {
  custom: {
    50: '#c178d1',
    500: '#a239bc',
    950: '#000000',
  },
}
SCSS
$custom: #a239bc;
$custom-light: #c178d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a239bc",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 288.092,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.2082,
    "h": 318.9
  },
  "luminance": 0.14238
}

Semantic roles & 50–950 ramp

primary
#A239BC
secondary
#95C988
accent
#DD4B68
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A239BC

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

Preview Lab → · Contrast checker → · Palette generator →

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