#A239B1#A239B1

#A239B1 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.198 H 322.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A239B1
RGBrgb(162, 57, 177)
HSLhsl(293, 51%, 46%)
HSVhsv(293, 68%, 69%)
CMYKcmyk(8.5%, 67.8%, 0%, 30.6%)
CIE-LABlab(43.92, 59.06, -43.39)
CIE-LCHlch(43.92, 73.28, 323.70°)
OKLaboklab(54.21% 0.1574 -0.121)
OKLCHoklch(54.21% 0.198 322.4)
XYZxyz(24.2984, 13.7833, 42.9670)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239B1 #48B139
analogous
#6639B1 #A239B1 #B13984
triadic
#A239B1 #B1A239 #39B1A2
tetradic
#A239B1 #B16639 #48B139 #3984B1
square
#A239B1 #B16639 #48B139 #3984B1
split-complementary
#A239B1 #84B139 #39B166
monochromatic
#4D1B54 #782A83 #A239B1 #BD5DCB #D08BDA

Accessibility & contrast

On white

5.59
#A239B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A239B1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239B1#FFFFFF#000000##FFFFFF
##A239B11.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B4
Deuteranopia (green-blind)
#4A6CAE
Tritanopia (blue-blind)
#A44D71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a239b1;
/* rgb */ color: rgb(162, 57, 177);
/* oklch */ color: oklch(54.2% 0.198 322.4);
Tailwind
colors: {
  custom: {
    50: '#c178c9',
    500: '#a239b1',
    950: '#000000',
  },
}
SCSS
$custom: #a239b1;
$custom-light: #c178c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a239b1",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 292.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54214,
    "c": 0.19848,
    "h": 322.4
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#A239B1
secondary
#8AC482
accent
#DB4D5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A239B1

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

Preview Lab → · Contrast checker → · Palette generator →

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