#A230A2#A230A2

#A230A2 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.197 H 327.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A230A2
RGBrgb(162, 48, 162)
HSLhsl(300, 54%, 41%)
HSVhsv(300, 70%, 64%)
CMYKcmyk(0%, 70.4%, 0%, 36.5%)
CIE-LABlab(41.85, 59.84, -37.76)
CIE-LCHlch(41.85, 70.75, 327.75°)
OKLaboklab(52.46% 0.1669 -0.1045)
OKLCHoklch(52.46% 0.197 327.9)
XYZxyz(22.4785, 12.4055, 35.3860)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230A2 #30A230
analogous
#6930A2 #A230A2 #A23069
triadic
#A230A2 #A2A230 #30A2A2
tetradic
#A230A2 #A26930 #30A230 #3069A2
square
#A230A2 #A26930 #30A230 #3069A2
split-complementary
#A230A2 #69A230 #30A269
monochromatic
#441444 #732273 #A230A2 #C847C8 #D676D6

Accessibility & contrast

On white

6.03
#A230A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A230A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230A2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230A2#FFFFFF#000000##FFFFFF
##A230A21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#A74166
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a230a2;
/* rgb */ color: rgb(162, 48, 162);
/* oklch */ color: oklch(52.5% 0.197 327.9);
Tailwind
colors: {
  custom: {
    50: '#c173be',
    500: '#a230a2',
    950: '#000000',
  },
}
SCSS
$custom: #a230a2;
$custom-light: #c173be;
$custom-dark: #000000;
JSON
{
  "hex": "#a230a2",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.19691,
    "h": 327.9
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#A230A2
secondary
#6FBE6F
accent
#DE4A4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A230A2

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

Preview Lab → · Contrast checker → · Palette generator →

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