#A1238D#A1238D

#A1238D is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.195 H 335.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A1238D
RGBrgb(161, 35, 141)
HSLhsl(310, 64%, 38%)
HSVhsv(310, 78%, 63%)
CMYKcmyk(0%, 78.3%, 12.4%, 36.9%)
CIE-LABlab(39.08, 60.52, -29.44)
CIE-LCHlch(39.08, 67.30, 334.06°)
OKLaboklab(50.07% 0.1773 -0.0804)
OKLCHoklch(50.07% 0.195 335.6)
XYZxyz(20.1070, 10.7041, 26.2013)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1238D #23A137
analogous
#7623A1 #A1238D #A1234E
triadic
#A1238D #8DA123 #238DA1
tetradic
#A1238D #A17623 #23A137 #234EA1
square
#A1238D #A17623 #23A137 #234EA1
split-complementary
#A1238D #4EA123 #23A176
monochromatic
#3C0D35 #6F1861 #A1238D #D22FB8 #DD62C9

Accessibility & contrast

On white

6.69
#A1238D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A1238D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1238D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1238D#FFFFFF#000000##FFFFFF
##A1238D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#52638A
Tritanopia (blue-blind)
#A92E57
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1238d;
/* rgb */ color: rgb(161, 35, 141);
/* oklch */ color: oklch(50.1% 0.195 335.6);
Tailwind
colors: {
  custom: {
    50: '#c16dae',
    500: '#a1238d',
    950: '#000000',
  },
}
SCSS
$custom: #a1238d;
$custom-light: #c16dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1238d",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 309.524,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.19465,
    "h": 335.6
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#A1238D
secondary
#5EC26E
accent
#E75B41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1238D

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

Preview Lab → · Contrast checker → · Palette generator →

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