#A239C2#A239C2

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

Color values

HEX#A239C2
RGBrgb(162, 57, 194)
HSLhsl(286, 55%, 49%)
HSVhsv(286, 71%, 76%)
CMYKcmyk(16.5%, 70.6%, 0%, 23.9%)
CIE-LABlab(44.95, 62.29, -51.70)
CIE-LCHlch(44.95, 80.95, 320.30°)
OKLaboklab(55.28% 0.1566 -0.1453)
OKLCHoklch(55.28% 0.214 317.1)
XYZxyz(26.0996, 14.5038, 52.4532)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239C2 #59C239
analogous
#5D39C2 #A239C2 #C2399E
triadic
#A239C2 #C2A239 #39C2A2
tetradic
#A239C2 #C25D39 #59C239 #399EC2
square
#A239C2 #C25D39 #59C239 #399EC2
split-complementary
#A239C2 #9EC239 #39C25D
monochromatic
#531D63 #7B2B93 #A239C2 #B966D2 #CF95E0

Accessibility & contrast

On white

5.38
#A239C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A239C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239C2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239C2#FFFFFF#000000##FFFFFF
##A239C21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#3C6DBF
Tritanopia (blue-blind)
#A1547A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a239c2;
/* rgb */ color: rgb(162, 57, 194);
/* oklch */ color: oklch(55.3% 0.214 317.1);
Tailwind
colors: {
  custom: {
    50: '#c179d5',
    500: '#a239c2',
    950: '#000000',
  },
}
SCSS
$custom: #a239c2;
$custom-light: #c179d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a239c2",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 285.985,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55278,
    "c": 0.21357,
    "h": 317.1
  },
  "luminance": 0.14503
}

Semantic roles & 50–950 ramp

primary
#A239C2
secondary
#9ACB8B
accent
#DE4A6C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A239C2

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

Preview Lab → · Contrast checker → · Palette generator →

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