#A239D1#A239D1

#A239D1 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.227 H 313.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A239D1
RGBrgb(162, 57, 209)
HSLhsl(281, 62%, 52%)
HSVhsv(281, 73%, 82%)
CMYKcmyk(22.5%, 72.7%, 0%, 18%)
CIE-LABlab(45.92, 65.27, -58.81)
CIE-LCHlch(45.92, 87.85, 317.98°)
OKLaboklab(56.28% 0.1549 -0.1661)
OKLCHoklch(56.28% 0.227 313)
XYZxyz(27.8700, 15.2119, 61.7773)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239D1 #68D139
analogous
#5639D1 #A239D1 #D139B4
triadic
#A239D1 #D1A239 #39D1A2
tetradic
#A239D1 #D15639 #68D139 #39B4D1
square
#A239D1 #D15639 #68D139 #39B4D1
split-complementary
#A239D1 #B4D139 #39D156
monochromatic
#591B75 #7F27A6 #A239D1 #B96BDD #D19CE8

Accessibility & contrast

On white

5.20
#A239D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A239D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239D1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239D1#FFFFFF#000000##FFFFFF
##A239D11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#296FCE
Tritanopia (blue-blind)
#9D5B82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a239d1;
/* rgb */ color: rgb(162, 57, 209);
/* oklch */ color: oklch(56.3% 0.227 313.0);
Tailwind
colors: {
  custom: {
    50: '#c279e0',
    500: '#a239d1',
    950: '#000000',
  },
}
SCSS
$custom: #a239d1;
$custom-light: #c279e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a239d1",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 281.447,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56283,
    "c": 0.22714,
    "h": 313
  },
  "luminance": 0.15211
}

Semantic roles & 50–950 ramp

primary
#A239D1
secondary
#A6D492
accent
#E54275
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A239D1

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

Preview Lab → · Contrast checker → · Palette generator →

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