#A0239F#A0239F

#A0239F is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.207 H 328.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A0239F
RGBrgb(160, 35, 159)
HSLhsl(300, 64%, 38%)
HSVhsv(300, 78%, 63%)
CMYKcmyk(0%, 78.1%, 0.6%, 37.3%)
CIE-LABlab(39.88, 63.10, -39.11)
CIE-LCHlch(39.88, 74.23, 328.21°)
OKLaboklab(50.93% 0.1766 -0.1084)
OKLCHoklch(50.93% 0.207 328.5)
XYZxyz(21.3560, 11.1805, 33.8274)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0239F #23A024
analogous
#6223A0 #A0239F #A02360
triadic
#A0239F #9FA023 #239FA0
tetradic
#A0239F #A06223 #23A024 #2360A0
square
#A0239F #A06223 #23A024 #2360A0
split-complementary
#A0239F #60A023 #23A062
monochromatic
#3C0D3B #6E186D #A0239F #D12FD0 #DC61DB

Accessibility & contrast

On white

6.49
#A0239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A0239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0239F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0239F#FFFFFF#000000##FFFFFF
##A0239F1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0154A2
Deuteranopia (green-blind)
#48649C
Tritanopia (blue-blind)
#A53861
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a0239f;
/* rgb */ color: rgb(160, 35, 159);
/* oklch */ color: oklch(50.9% 0.207 328.5);
Tailwind
colors: {
  custom: {
    50: '#c06ebc',
    500: '#a0239f',
    950: '#000000',
  },
}
SCSS
$custom: #a0239f;
$custom-light: #c06ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#a0239f",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 300.48,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.20723,
    "h": 328.5
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#A0239F
secondary
#5DC15E
accent
#E74241
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A0239F

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

Preview Lab → · Contrast checker → · Palette generator →

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