#A239B2#A239B2

#A239B2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.3% C 0.199 H 322.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A239B2
RGBrgb(162, 57, 178)
HSLhsl(292, 51%, 46%)
HSVhsv(292, 68%, 70%)
CMYKcmyk(9%, 68%, 0%, 30.2%)
CIE-LABlab(43.98, 59.24, -43.88)
CIE-LCHlch(43.98, 73.72, 323.47°)
OKLaboklab(54.27% 0.1574 -0.1224)
OKLCHoklch(54.27% 0.199 322.1)
XYZxyz(24.3985, 13.8233, 43.4939)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239B2 #49B239
analogous
#6539B2 #A239B2 #B23985
triadic
#A239B2 #B2A239 #39B2A2
tetradic
#A239B2 #B26539 #49B239 #3985B2
square
#A239B2 #B26539 #49B239 #3985B2
split-complementary
#A239B2 #85B239 #39B265
monochromatic
#4E1B55 #782A84 #A239B2 #BD5DCB #D08BDA

Accessibility & contrast

On white

5.58
#A239B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A239B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239B2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239B2#FFFFFF#000000##FFFFFF
##A239B21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B6
Deuteranopia (green-blind)
#496CAF
Tritanopia (blue-blind)
#A44E71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a239b2;
/* rgb */ color: rgb(162, 57, 178);
/* oklch */ color: oklch(54.3% 0.199 322.1);
Tailwind
colors: {
  custom: {
    50: '#c178c9',
    500: '#a239b2',
    950: '#000000',
  },
}
SCSS
$custom: #a239b2;
$custom-light: #c178c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a239b2",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 292.066,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.19936,
    "h": 322.1
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#A239B2
secondary
#8BC482
accent
#DB4D60
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A239B2

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

Preview Lab → · Contrast checker → · Palette generator →

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