#A226CA#A226CA

#A226CA is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.3% C 0.239 H 315.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A226CA
RGBrgb(162, 38, 202)
HSLhsl(285, 68%, 47%)
HSVhsv(285, 81%, 79%)
CMYKcmyk(19.8%, 81.2%, 0%, 20.8%)
CIE-LABlab(43.26, 70.19, -59.07)
CIE-LCHlch(43.26, 91.74, 319.92°)
OKLaboklab(54.25% 0.1717 -0.1668)
OKLCHoklch(54.25% 0.239 315.8)
XYZxyz(26.2524, 13.3329, 57.0563)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A226CA #4ECA26
analogous
#5026CA #A226CA #CA26A0
triadic
#A226CA #CAA226 #26CAA2
tetradic
#A226CA #CA5026 #4ECA26 #26A0CA
square
#A226CA #CA5026 #4ECA26 #26A0CA
split-complementary
#A226CA #A0CA26 #26CA50
monochromatic
#4F1363 #791C96 #A226CA #BB4FDE #CF83E8

Accessibility & contrast

On white

5.73
#A226CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A226CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A226CA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A226CA#FFFFFF#000000##FFFFFF
##A226CA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#2069C7
Tritanopia (blue-blind)
#9F4E7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a226ca;
/* rgb */ color: rgb(162, 38, 202);
/* oklch */ color: oklch(54.3% 0.239 315.8);
Tailwind
colors: {
  custom: {
    50: '#c271db',
    500: '#a226ca',
    950: '#000000',
  },
}
SCSS
$custom: #a226ca;
$custom-light: #c271db;
$custom-dark: #000000;
JSON
{
  "hex": "#a226ca",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 285.366,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.23937,
    "h": 315.8
  },
  "luminance": 0.13332
}

Semantic roles & 50–950 ramp

primary
#A226CA
secondary
#90D17B
accent
#EB3D67
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A226CA

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

Preview Lab → · Contrast checker → · Palette generator →

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