#A0238C#A0238C

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

Color values

HEX#A0238C
RGBrgb(160, 35, 140)
HSLhsl(310, 64%, 38%)
HSVhsv(310, 78%, 63%)
CMYKcmyk(0%, 78.1%, 12.5%, 37.3%)
CIE-LABlab(38.85, 60.15, -29.20)
CIE-LCHlch(38.85, 66.86, 334.11°)
OKLaboklab(49.85% 0.1762 -0.0798)
OKLCHoklch(49.85% 0.193 335.6)
XYZxyz(19.8322, 10.5709, 25.8018)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0238C #23A037
analogous
#7523A0 #A0238C #A0234D
triadic
#A0238C #8CA023 #238CA0
tetradic
#A0238C #A07523 #23A037 #234DA0
square
#A0238C #A07523 #23A037 #234DA0
split-complementary
#A0238C #4DA023 #23A075
monochromatic
#3C0D34 #6E1860 #A0238C #D12FB7 #DC61C9

Accessibility & contrast

On white

6.74
#A0238C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A0238C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0238C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0238C#FFFFFF#000000##FFFFFF
##A0238C1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#526289
Tritanopia (blue-blind)
#A82E56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0238c;
/* rgb */ color: rgb(160, 35, 140);
/* oklch */ color: oklch(49.9% 0.193 335.6);
Tailwind
colors: {
  custom: {
    50: '#c06dae',
    500: '#a0238c',
    950: '#000000',
  },
}
SCSS
$custom: #a0238c;
$custom-light: #c06dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a0238c",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 309.6,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49852,
    "c": 0.1934,
    "h": 335.6
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A0238C

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

Preview Lab → · Contrast checker → · Palette generator →

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