#A239BD#A239BD

#A239BD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.209 H 318.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A239BD
RGBrgb(162, 57, 189)
HSLhsl(288, 54%, 48%)
HSVhsv(288, 70%, 74%)
CMYKcmyk(14.3%, 69.8%, 0%, 25.9%)
CIE-LABlab(44.64, 61.32, -49.29)
CIE-LCHlch(44.64, 78.67, 321.21°)
OKLaboklab(54.96% 0.1569 -0.1382)
OKLCHoklch(54.96% 0.209 318.6)
XYZxyz(25.5475, 14.2829, 49.5454)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239BD #54BD39
analogous
#6039BD #A239BD #BD3996
triadic
#A239BD #BDA239 #39BDA2
tetradic
#A239BD #BD6039 #54BD39 #3996BD
square
#A239BD #BD6039 #54BD39 #3996BD
split-complementary
#A239BD #96BD39 #39BD60
monochromatic
#511D5F #7A2B8E #A239BD #BA63D0 #CF92DE

Accessibility & contrast

On white

5.45
#A239BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A239BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239BD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239BD#FFFFFF#000000##FFFFFF
##A239BD1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#A25277
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a239bd;
/* rgb */ color: rgb(162, 57, 189);
/* oklch */ color: oklch(55.0% 0.209 318.6);
Tailwind
colors: {
  custom: {
    50: '#c178d1',
    500: '#a239bd',
    950: '#000000',
  },
}
SCSS
$custom: #a239bd;
$custom-light: #c178d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a239bd",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 287.727,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.2091,
    "h": 318.6
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#A239BD
secondary
#96C989
accent
#DD4B69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A239BD

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

Preview Lab → · Contrast checker → · Palette generator →

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