#A239CA#A239CA

#A239CA is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.221 H 314.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A239CA
RGBrgb(162, 57, 202)
HSLhsl(283, 58%, 51%)
HSVhsv(283, 72%, 79%)
CMYKcmyk(19.8%, 71.8%, 0%, 20.8%)
CIE-LABlab(45.46, 63.86, -55.52)
CIE-LCHlch(45.46, 84.62, 319.00°)
OKLaboklab(55.81% 0.1558 -0.1565)
OKLCHoklch(55.81% 0.221 314.9)
XYZxyz(27.0223, 14.8729, 57.3130)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239CA #61CA39
analogous
#5939CA #A239CA #CA39AA
triadic
#A239CA #CAA239 #39CAA2
tetradic
#A239CA #CA5939 #61CA39 #39AACA
square
#A239CA #CA5939 #61CA39 #39AACA
split-complementary
#A239CA #AACA39 #39CA59
monochromatic
#561D6C #7D2A9C #A239CA #B969D7 #CF9AE4

Accessibility & contrast

On white

5.28
#A239CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A239CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239CA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239CA#FFFFFF#000000##FFFFFF
##A239CA1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#336EC7
Tritanopia (blue-blind)
#9F587E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a239ca;
/* rgb */ color: rgb(162, 57, 202);
/* oklch */ color: oklch(55.8% 0.221 314.9);
Tailwind
colors: {
  custom: {
    50: '#c279db',
    500: '#a239ca',
    950: '#000000',
  },
}
SCSS
$custom: #a239ca;
$custom-light: #c279db;
$custom-dark: #000000;
JSON
{
  "hex": "#a239ca",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 283.448,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55807,
    "c": 0.22079,
    "h": 314.9
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#A239CA
secondary
#A1D08F
accent
#E14771
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A239CA

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

Preview Lab → · Contrast checker → · Palette generator →

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