#A239B7#A239B7

#A239B7 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.204 H 320.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A239B7
RGBrgb(162, 57, 183)
HSLhsl(290, 53%, 47%)
HSVhsv(290, 69%, 72%)
CMYKcmyk(11.5%, 68.9%, 0%, 28.2%)
CIE-LABlab(44.27, 60.18, -46.35)
CIE-LCHlch(44.27, 75.96, 322.39°)
OKLaboklab(54.58% 0.1572 -0.1296)
OKLCHoklch(54.58% 0.204 320.5)
XYZxyz(24.9096, 14.0278, 46.1861)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239B7 #4EB739
analogous
#6339B7 #A239B7 #B7398D
triadic
#A239B7 #B7A239 #39B7A2
tetradic
#A239B7 #B76339 #4EB739 #398DB7
square
#A239B7 #B76339 #4EB739 #398DB7
split-complementary
#A239B7 #8DB739 #39B763
monochromatic
#4F1C5A #792A88 #A239B7 #BB60CD #CF8EDC

Accessibility & contrast

On white

5.52
#A239B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A239B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239B7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239B7#FFFFFF#000000##FFFFFF
##A239B71.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0461BB
Deuteranopia (green-blind)
#456CB4
Tritanopia (blue-blind)
#A35074
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a239b7;
/* rgb */ color: rgb(162, 57, 183);
/* oklch */ color: oklch(54.6% 0.204 320.5);
Tailwind
colors: {
  custom: {
    50: '#c178cd',
    500: '#a239b7',
    950: '#000000',
  },
}
SCSS
$custom: #a239b7;
$custom-light: #c178cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a239b7",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 290,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.20376,
    "h": 320.5
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#A239B7
secondary
#90C785
accent
#DC4C64
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A239B7

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

Preview Lab → · Contrast checker → · Palette generator →

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