#A239B5#A239B5

#A239B5 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.202 H 321.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A239B5
RGBrgb(162, 57, 181)
HSLhsl(291, 52%, 47%)
HSVhsv(291, 69%, 71%)
CMYKcmyk(10.5%, 68.5%, 0%, 29%)
CIE-LABlab(44.15, 59.80, -45.37)
CIE-LCHlch(44.15, 75.06, 322.81°)
OKLaboklab(54.46% 0.1573 -0.1267)
OKLCHoklch(54.46% 0.202 321.1)
XYZxyz(24.7030, 13.9451, 45.0976)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239B5 #4CB539
analogous
#6439B5 #A239B5 #B5398A
triadic
#A239B5 #B5A239 #39B5A2
tetradic
#A239B5 #B56439 #4CB539 #398AB5
square
#A239B5 #B56439 #4CB539 #398AB5
split-complementary
#A239B5 #8AB539 #39B564
monochromatic
#4F1C58 #782A86 #A239B5 #BC5FCD #CF8DDB

Accessibility & contrast

On white

5.54
#A239B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A239B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239B5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239B5#FFFFFF#000000##FFFFFF
##A239B51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B61B9
Deuteranopia (green-blind)
#476CB2
Tritanopia (blue-blind)
#A34F73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a239b5;
/* rgb */ color: rgb(162, 57, 181);
/* oklch */ color: oklch(54.5% 0.202 321.1);
Tailwind
colors: {
  custom: {
    50: '#c178cc',
    500: '#a239b5',
    950: '#000000',
  },
}
SCSS
$custom: #a239b5;
$custom-light: #c178cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a239b5",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 290.806,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.202,
    "h": 321.1
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#A239B5
secondary
#8EC684
accent
#DC4C62
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A239B5

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

Preview Lab → · Contrast checker → · Palette generator →

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