#A239D3#A239D3

#A239D3 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.229 H 312.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A239D3
RGBrgb(162, 57, 211)
HSLhsl(281, 64%, 53%)
HSVhsv(281, 73%, 83%)
CMYKcmyk(23.2%, 73%, 0%, 17.3%)
CIE-LABlab(46.06, 65.67, -59.74)
CIE-LCHlch(46.06, 88.78, 317.71°)
OKLaboklab(56.42% 0.1546 -0.1689)
OKLCHoklch(56.42% 0.229 312.5)
XYZxyz(28.1192, 15.3116, 63.0896)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239D3 #6AD339
analogous
#5539D3 #A239D3 #D339B7
triadic
#A239D3 #D3A239 #39D3A2
tetradic
#A239D3 #D35539 #6AD339 #39B7D3
square
#A239D3 #D35539 #6AD339 #39B7D3
split-complementary
#A239D3 #B7D339 #39D355
monochromatic
#5A1A77 #7F26A9 #A239D3 #BA6BDE #D19DE9

Accessibility & contrast

On white

5.17
#A239D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A239D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239D3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239D3#FFFFFF#000000##FFFFFF
##A239D31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#266FD0
Tritanopia (blue-blind)
#9C5C83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a239d3;
/* rgb */ color: rgb(162, 57, 211);
/* oklch */ color: oklch(56.4% 0.229 312.5);
Tailwind
colors: {
  custom: {
    50: '#c279e1',
    500: '#a239d3',
    950: '#000000',
  },
}
SCSS
$custom: #a239d3;
$custom-light: #c279e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a239d3",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 280.909,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.22896,
    "h": 312.5
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#A239D3
secondary
#A8D592
accent
#E74176
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A239D3

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

Preview Lab → · Contrast checker → · Palette generator →

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