#A0238F#A0238F

#A0238F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.196 H 334.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A0238F
RGBrgb(160, 35, 143)
HSLhsl(308, 64%, 38%)
HSVhsv(308, 78%, 63%)
CMYKcmyk(0%, 78.1%, 10.6%, 37.3%)
CIE-LABlab(39.00, 60.59, -30.79)
CIE-LCHlch(39.00, 67.97, 333.06°)
OKLaboklab(50.01% 0.1764 -0.0843)
OKLCHoklch(50.01% 0.196 334.4)
XYZxyz(20.0564, 10.6606, 26.9827)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0238F #23A034
analogous
#7223A0 #A0238F #A02350
triadic
#A0238F #8FA023 #238FA0
tetradic
#A0238F #A07223 #23A034 #2350A0
square
#A0238F #A07223 #23A034 #2350A0
split-complementary
#A0238F #50A023 #23A072
monochromatic
#3C0D35 #6E1862 #A0238F #D12FBB #DC61CC

Accessibility & contrast

On white

6.71
#A0238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A0238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0238F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0238F#FFFFFF#000000##FFFFFF
##A0238F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#50628C
Tritanopia (blue-blind)
#A82F58
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a0238f;
/* rgb */ color: rgb(160, 35, 143);
/* oklch */ color: oklch(50.0% 0.196 334.4);
Tailwind
colors: {
  custom: {
    50: '#c06db0',
    500: '#a0238f',
    950: '#000000',
  },
}
SCSS
$custom: #a0238f;
$custom-light: #c06db0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0238f",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 308.16,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50014,
    "c": 0.19552,
    "h": 334.4
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#A0238F
secondary
#5DC16B
accent
#E75741
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0238F

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

Preview Lab → · Contrast checker → · Palette generator →

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