#A239D4#A239D4

#A239D4 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.230 H 312.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A239D4
RGBrgb(162, 57, 212)
HSLhsl(281, 64%, 53%)
HSVhsv(281, 73%, 83%)
CMYKcmyk(23.6%, 73.1%, 0%, 16.9%)
CIE-LABlab(46.13, 65.88, -60.20)
CIE-LCHlch(46.13, 89.24, 317.58°)
OKLaboklab(56.49% 0.1545 -0.1702)
OKLCHoklch(56.49% 0.23 312.2)
XYZxyz(28.2449, 15.3619, 63.7519)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239D4 #6BD439
analogous
#5439D4 #A239D4 #D439B8
triadic
#A239D4 #D4A239 #39D4A2
tetradic
#A239D4 #D45439 #6BD439 #39B8D4
square
#A239D4 #D45439 #6BD439 #39B8D4
split-complementary
#A239D4 #B8D439 #39D454
monochromatic
#5A1A78 #8025AB #A239D4 #BA6BDF #D19EEA

Accessibility & contrast

On white

5.16
#A239D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A239D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239D4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239D4#FFFFFF#000000##FFFFFF
##A239D41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#246FD1
Tritanopia (blue-blind)
#9C5C84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a239d4;
/* rgb */ color: rgb(162, 57, 212);
/* oklch */ color: oklch(56.5% 0.230 312.2);
Tailwind
colors: {
  custom: {
    50: '#c279e2',
    500: '#a239d4',
    950: '#000000',
  },
}
SCSS
$custom: #a239d4;
$custom-light: #c279e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a239d4",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 212
  },
  "hsl": {
    "h": 280.645,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.22987,
    "h": 312.2
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#A239D4
secondary
#A8D693
accent
#E74076
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A239D4

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

Preview Lab → · Contrast checker → · Palette generator →

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