#A239B8#A239B8

#A239B8 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.6% C 0.205 H 320.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A239B8
RGBrgb(162, 57, 184)
HSLhsl(290, 53%, 47%)
HSVhsv(290, 69%, 72%)
CMYKcmyk(12%, 69%, 0%, 27.8%)
CIE-LABlab(44.33, 60.37, -46.85)
CIE-LCHlch(44.33, 76.41, 322.19°)
OKLaboklab(54.64% 0.1572 -0.1311)
OKLCHoklch(54.64% 0.205 320.2)
XYZxyz(25.0141, 14.0696, 46.7362)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239B8 #4FB839
analogous
#6239B8 #A239B8 #B8398F
triadic
#A239B8 #B8A239 #39B8A2
tetradic
#A239B8 #B86239 #4FB839 #398FB8
square
#A239B8 #B86239 #4FB839 #398FB8
split-complementary
#A239B8 #8FB839 #39B862
monochromatic
#501C5B #792B89 #A239B8 #BB60CE #CF8FDC

Accessibility & contrast

On white

5.51
#A239B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A239B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239B8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239B8#FFFFFF#000000##FFFFFF
##A239B81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BC
Deuteranopia (green-blind)
#456CB5
Tritanopia (blue-blind)
#A35074
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a239b8;
/* rgb */ color: rgb(162, 57, 184);
/* oklch */ color: oklch(54.6% 0.205 320.2);
Tailwind
colors: {
  custom: {
    50: '#c178ce',
    500: '#a239b8',
    950: '#000000',
  },
}
SCSS
$custom: #a239b8;
$custom-light: #c178ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a239b8",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 289.606,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54642,
    "c": 0.20465,
    "h": 320.2
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#A239B8
secondary
#91C786
accent
#DC4C65
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A239B8

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

Preview Lab → · Contrast checker → · Palette generator →

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