#A0239D#A0239D

#A0239D is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.206 H 329.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A0239D
RGBrgb(160, 35, 157)
HSLhsl(301, 64%, 38%)
HSVhsv(301, 78%, 63%)
CMYKcmyk(0%, 78.1%, 1.9%, 37.3%)
CIE-LABlab(39.77, 62.77, -38.08)
CIE-LCHlch(39.77, 73.42, 328.75°)
OKLaboklab(50.81% 0.1767 -0.1054)
OKLCHoklch(50.81% 0.206 329.2)
XYZxyz(21.1839, 11.1116, 32.9208)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0239D #23A026
analogous
#6423A0 #A0239D #A0235E
triadic
#A0239D #9DA023 #239DA0
tetradic
#A0239D #A06423 #23A026 #235EA0
square
#A0239D #A06423 #23A026 #235EA0
split-complementary
#A0239D #5EA023 #23A064
monochromatic
#3C0D3A #6E186C #A0239D #D12FCE #DC61D9

Accessibility & contrast

On white

6.52
#A0239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A0239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0239D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0239D#FFFFFF#000000##FFFFFF
##A0239D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0753A0
Deuteranopia (green-blind)
#49639A
Tritanopia (blue-blind)
#A63760
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a0239d;
/* rgb */ color: rgb(160, 35, 157);
/* oklch */ color: oklch(50.8% 0.206 329.2);
Tailwind
colors: {
  custom: {
    50: '#c06dba',
    500: '#a0239d',
    950: '#000000',
  },
}
SCSS
$custom: #a0239d;
$custom-light: #c06dba;
$custom-dark: #000000;
JSON
{
  "hex": "#a0239d",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 301.44,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.20573,
    "h": 329.2
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

primary
#A0239D
secondary
#5DC160
accent
#E74541
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A0239D

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

Preview Lab → · Contrast checker → · Palette generator →

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