#A2268E#A2268E

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

Color values

HEX#A2268E
RGBrgb(162, 38, 142)
HSLhsl(310, 62%, 39%)
HSVhsv(310, 77%, 64%)
CMYKcmyk(0%, 76.5%, 12.3%, 36.5%)
CIE-LABlab(39.62, 60.00, -29.19)
CIE-LCHlch(39.62, 66.73, 334.06°)
OKLaboklab(50.51% 0.1757 -0.0797)
OKLCHoklch(50.51% 0.193 335.6)
XYZxyz(20.4762, 11.0225, 26.6351)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2268E #26A23A
analogous
#7826A2 #A2268E #A22650
triadic
#A2268E #8EA226 #268EA2
tetradic
#A2268E #A27826 #26A23A #2650A2
square
#A2268E #A27826 #26A23A #2650A2
split-complementary
#A2268E #50A226 #26A278
monochromatic
#3F0F37 #701A63 #A2268E #D035B7 #DB67C9

Accessibility & contrast

On white

6.55
#A2268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A2268E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2268E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2268E#FFFFFF#000000##FFFFFF
##A2268E1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#AA3058
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2268e;
/* rgb */ color: rgb(162, 38, 142);
/* oklch */ color: oklch(50.5% 0.193 335.6);
Tailwind
colors: {
  custom: {
    50: '#c16eaf',
    500: '#a2268e',
    950: '#000000',
  },
}
SCSS
$custom: #a2268e;
$custom-light: #c16eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a2268e",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 309.677,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.1929,
    "h": 335.6
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#A2268E
secondary
#63C172
accent
#E55D43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2268E

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

Preview Lab → · Contrast checker → · Palette generator →

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