#A239C7#A239C7

#A239C7 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.218 H 315.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A239C7
RGBrgb(162, 57, 199)
HSLhsl(284, 56%, 50%)
HSVhsv(284, 71%, 78%)
CMYKcmyk(18.6%, 71.4%, 0%, 22%)
CIE-LABlab(45.27, 63.27, -54.09)
CIE-LCHlch(45.27, 83.24, 319.47°)
OKLaboklab(55.61% 0.1561 -0.1523)
OKLCHoklch(55.61% 0.218 315.7)
XYZxyz(26.6706, 14.7322, 55.4605)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239C7 #5EC739
analogous
#5B39C7 #A239C7 #C739A5
triadic
#A239C7 #C7A239 #39C7A2
tetradic
#A239C7 #C75B39 #5EC739 #39A5C7
square
#A239C7 #C75B39 #5EC739 #39A5C7
split-complementary
#A239C7 #A5C739 #39C75B
monochromatic
#551D68 #7B2B98 #A239C7 #B869D4 #CF98E2

Accessibility & contrast

On white

5.32
#A239C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#A239C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239C7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239C7#FFFFFF#000000##FFFFFF
##A239C71.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#376EC4
Tritanopia (blue-blind)
#9F567D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a239c7;
/* rgb */ color: rgb(162, 57, 199);
/* oklch */ color: oklch(55.6% 0.218 315.7);
Tailwind
colors: {
  custom: {
    50: '#c279d9',
    500: '#a239c7',
    950: '#000000',
  },
}
SCSS
$custom: #a239c7;
$custom-light: #c279d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a239c7",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 284.366,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.21808,
    "h": 315.7
  },
  "luminance": 0.14731
}

Semantic roles & 50–950 ramp

primary
#A239C7
secondary
#9FCE8E
accent
#DF4970
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A239C7

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

Preview Lab → · Contrast checker → · Palette generator →

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