#A230AF#A230AF

#A230AF is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.208 H 323.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A230AF
RGBrgb(162, 48, 175)
HSLhsl(294, 57%, 44%)
HSVhsv(294, 73%, 69%)
CMYKcmyk(7.4%, 72.6%, 0%, 31.4%)
CIE-LABlab(42.60, 62.10, -44.31)
CIE-LCHlch(42.60, 76.28, 324.49°)
OKLaboklab(53.23% 0.1667 -0.1236)
OKLCHoklch(53.23% 0.208 323.4)
XYZxyz(23.6944, 12.8919, 41.7895)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230AF #3DAF30
analogous
#6230AF #A230AF #AF307C
triadic
#A230AF #AFA230 #30AFA2
tetradic
#A230AF #AF6230 #3DAF30 #307CAF
square
#A230AF #AF6230 #3DAF30 #307CAF
split-complementary
#A230AF #7CAF30 #30AF62
monochromatic
#49164F #76237F #A230AF #C14ECE #D27EDC

Accessibility & contrast

On white

5.87
#A230AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A230AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230AF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230AF#FFFFFF#000000##FFFFFF
##A230AF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#A5476D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a230af;
/* rgb */ color: rgb(162, 48, 175);
/* oklch */ color: oklch(53.2% 0.208 323.4);
Tailwind
colors: {
  custom: {
    50: '#c174c7',
    500: '#a230af',
    950: '#000000',
  },
}
SCSS
$custom: #a230af;
$custom-light: #c174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a230af",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 293.858,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.20752,
    "h": 323.4
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#A230AF
secondary
#7EC476
accent
#E04857
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A230AF

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

Preview Lab → · Contrast checker → · Palette generator →

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