#A0238D#A0238D

#A0238D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.194 H 335.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A0238D
RGBrgb(160, 35, 141)
HSLhsl(309, 64%, 38%)
HSVhsv(309, 78%, 63%)
CMYKcmyk(0%, 78.1%, 11.9%, 37.3%)
CIE-LABlab(38.90, 60.29, -29.73)
CIE-LCHlch(38.90, 67.23, 333.75°)
OKLaboklab(49.91% 0.1763 -0.0813)
OKLCHoklch(49.91% 0.194 335.2)
XYZxyz(19.9062, 10.6006, 26.1919)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0238D #23A036
analogous
#7423A0 #A0238D #A0234E
triadic
#A0238D #8DA023 #238DA0
tetradic
#A0238D #A07423 #23A036 #234EA0
square
#A0238D #A07423 #23A036 #234EA0
split-complementary
#A0238D #4EA023 #23A074
monochromatic
#3C0D34 #6E1861 #A0238D #D12FB9 #DC61CA

Accessibility & contrast

On white

6.73
#A0238D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A0238D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0238D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0238D#FFFFFF#000000##FFFFFF
##A0238D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A82E57
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a0238d;
/* rgb */ color: rgb(160, 35, 141);
/* oklch */ color: oklch(49.9% 0.194 335.2);
Tailwind
colors: {
  custom: {
    50: '#c06dae',
    500: '#a0238d',
    950: '#000000',
  },
}
SCSS
$custom: #a0238d;
$custom-light: #c06dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a0238d",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 309.12,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.1941,
    "h": 335.2
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#A0238D
secondary
#5DC16D
accent
#E75A41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0238D

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

Preview Lab → · Contrast checker → · Palette generator →

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