#A239C3#A239C3

#A239C3 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.214 H 316.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A239C3
RGBrgb(162, 57, 195)
HSLhsl(286, 55%, 49%)
HSVhsv(286, 71%, 76%)
CMYKcmyk(16.9%, 70.8%, 0%, 23.5%)
CIE-LABlab(45.01, 62.48, -52.18)
CIE-LCHlch(45.01, 81.41, 320.13°)
OKLaboklab(55.34% 0.1565 -0.1467)
OKLCHoklch(55.34% 0.214 316.8)
XYZxyz(26.2123, 14.5488, 53.0466)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239C3 #5AC339
analogous
#5D39C3 #A239C3 #C3399F
triadic
#A239C3 #C3A239 #39C3A2
tetradic
#A239C3 #C35D39 #5AC339 #399FC3
square
#A239C3 #C35D39 #5AC339 #399FC3
split-complementary
#A239C3 #9FC339 #39C35D
monochromatic
#531D64 #7B2B94 #A239C3 #B967D2 #CF96E0

Accessibility & contrast

On white

5.37
#A239C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A239C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239C3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239C3#FFFFFF#000000##FFFFFF
##A239C31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#3B6EC0
Tritanopia (blue-blind)
#A0557A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a239c3;
/* rgb */ color: rgb(162, 57, 195);
/* oklch */ color: oklch(55.3% 0.214 316.8);
Tailwind
colors: {
  custom: {
    50: '#c179d6',
    500: '#a239c3',
    950: '#000000',
  },
}
SCSS
$custom: #a239c3;
$custom-light: #c179d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a239c3",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 285.652,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.21447,
    "h": 316.8
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#A239C3
secondary
#9BCC8C
accent
#DE4A6D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A239C3

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

Preview Lab → · Contrast checker → · Palette generator →

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