#A239C4#A239C4

#A239C4 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.215 H 316.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A239C4
RGBrgb(162, 57, 196)
HSLhsl(285, 55%, 50%)
HSVhsv(285, 71%, 77%)
CMYKcmyk(17.3%, 70.9%, 0%, 23.1%)
CIE-LABlab(45.07, 62.68, -52.66)
CIE-LCHlch(45.07, 81.86, 319.96°)
OKLaboklab(55.41% 0.1564 -0.1481)
OKLCHoklch(55.41% 0.215 316.6)
XYZxyz(26.3257, 14.5942, 53.6441)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239C4 #5BC439
analogous
#5D39C4 #A239C4 #C439A1
triadic
#A239C4 #C4A239 #39C4A2
tetradic
#A239C4 #C45D39 #5BC439 #39A1C4
square
#A239C4 #C45D39 #5BC439 #39A1C4
split-complementary
#A239C4 #A1C439 #39C45D
monochromatic
#541D65 #7B2B95 #A239C4 #B967D3 #CF97E1

Accessibility & contrast

On white

5.36
#A239C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A239C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239C4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239C4#FFFFFF#000000##FFFFFF
##A239C41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#3A6EC1
Tritanopia (blue-blind)
#A0557B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a239c4;
/* rgb */ color: rgb(162, 57, 196);
/* oklch */ color: oklch(55.4% 0.215 316.6);
Tailwind
colors: {
  custom: {
    50: '#c179d7',
    500: '#a239c4',
    950: '#000000',
  },
}
SCSS
$custom: #a239c4;
$custom-light: #c179d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a239c4",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 285.324,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55408,
    "c": 0.21538,
    "h": 316.6
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#A239C4
secondary
#9CCC8D
accent
#DE4A6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A239C4

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

Preview Lab → · Contrast checker → · Palette generator →

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