#A2268F#A2268F

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

Color values

HEX#A2268F
RGBrgb(162, 38, 143)
HSLhsl(309, 62%, 39%)
HSVhsv(309, 77%, 64%)
CMYKcmyk(0%, 76.5%, 11.7%, 36.5%)
CIE-LABlab(39.67, 60.15, -29.72)
CIE-LCHlch(39.67, 67.09, 333.71°)
OKLaboklab(50.56% 0.1757 -0.0812)
OKLCHoklch(50.56% 0.194 335.2)
XYZxyz(20.5516, 11.0526, 27.0323)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2268F #26A239
analogous
#7726A2 #A2268F #A22651
triadic
#A2268F #8FA226 #268FA2
tetradic
#A2268F #A27726 #26A239 #2651A2
square
#A2268F #A27726 #26A239 #2651A2
split-complementary
#A2268F #51A226 #26A277
monochromatic
#3F0F37 #701A63 #A2268F #D035B8 #DB67CA

Accessibility & contrast

On white

6.54
#A2268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A2268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2268F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2268F#FFFFFF#000000##FFFFFF
##A2268F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#AA3158
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2268f;
/* rgb */ color: rgb(162, 38, 143);
/* oklch */ color: oklch(50.6% 0.194 335.2);
Tailwind
colors: {
  custom: {
    50: '#c16eb0',
    500: '#a2268f',
    950: '#000000',
  },
}
SCSS
$custom: #a2268f;
$custom-light: #c16eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2268f",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 309.194,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50558,
    "c": 0.19361,
    "h": 335.2
  },
  "luminance": 0.11051
}

Semantic roles & 50–950 ramp

primary
#A2268F
secondary
#63C171
accent
#E55C43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2268F

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

Preview Lab → · Contrast checker → · Palette generator →

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