#A234AF#A234AF

#A234AF is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.203 H 323.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A234AF
RGBrgb(162, 52, 175)
HSLhsl(294, 54%, 45%)
HSVhsv(294, 70%, 69%)
CMYKcmyk(7.4%, 70.3%, 0%, 31.4%)
CIE-LABlab(43.11, 60.64, -43.49)
CIE-LCHlch(43.11, 74.62, 324.35°)
OKLaboklab(53.6% 0.1627 -0.1212)
OKLCHoklch(53.6% 0.203 323.3)
XYZxyz(23.8654, 13.2339, 41.8465)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234AF #41AF34
analogous
#6534AF #A234AF #AF347E
triadic
#A234AF #AFA234 #34AFA2
tetradic
#A234AF #AF6534 #41AF34 #347EAF
square
#A234AF #AF6534 #41AF34 #347EAF
split-complementary
#A234AF #7EAF34 #34AF65
monochromatic
#4B1851 #762680 #A234AF #BF54CC #D183DA

Accessibility & contrast

On white

5.76
#A234AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A234AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234AF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234AF#FFFFFF#000000##FFFFFF
##A234AF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5EB2
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#A5496E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a234af;
/* rgb */ color: rgb(162, 52, 175);
/* oklch */ color: oklch(53.6% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#c176c7',
    500: '#a234af',
    950: '#000000',
  },
}
SCSS
$custom: #a234af;
$custom-light: #c176c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a234af",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 293.659,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53597,
    "c": 0.20291,
    "h": 323.3
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#A234AF
secondary
#83C47B
accent
#DE4A5A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A234AF

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

Preview Lab → · Contrast checker → · Palette generator →

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