#A0238E#A0238E

#A0238E is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.195 H 334.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A0238E
RGBrgb(160, 35, 142)
HSLhsl(309, 64%, 38%)
HSVhsv(309, 78%, 63%)
CMYKcmyk(0%, 78.1%, 11.2%, 37.3%)
CIE-LABlab(38.95, 60.44, -30.26)
CIE-LCHlch(38.95, 67.60, 333.40°)
OKLaboklab(49.96% 0.1763 -0.0828)
OKLCHoklch(49.96% 0.195 334.8)
XYZxyz(19.9810, 10.6304, 26.5855)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0238E #23A035
analogous
#7323A0 #A0238E #A0234F
triadic
#A0238E #8EA023 #238EA0
tetradic
#A0238E #A07323 #23A035 #234FA0
square
#A0238E #A07323 #23A035 #234FA0
split-complementary
#A0238E #4FA023 #23A073
monochromatic
#3C0D35 #6E1861 #A0238E #D12FBA #DC61CB

Accessibility & contrast

On white

6.72
#A0238E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0238E
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0238E#FFFFFF#000000##FFFFFF
##A0238E1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#51628B
Tritanopia (blue-blind)
#A82F57
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a0238e;
/* rgb */ color: rgb(160, 35, 142);
/* oklch */ color: oklch(50.0% 0.195 334.8);
Tailwind
colors: {
  custom: {
    50: '#c06daf',
    500: '#a0238e',
    950: '#000000',
  },
}
SCSS
$custom: #a0238e;
$custom-light: #c06daf;
$custom-dark: #000000;
JSON
{
  "hex": "#a0238e",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 308.64,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.19481,
    "h": 334.8
  },
  "luminance": 0.10629
}

Semantic roles & 50–950 ramp

primary
#A0238E
secondary
#5DC16C
accent
#E75941
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0238E

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

Preview Lab → · Contrast checker → · Palette generator →

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