#A234BF#A234BF

#A234BF is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.217 H 318.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A234BF
RGBrgb(162, 52, 191)
HSLhsl(287, 57%, 48%)
HSVhsv(287, 73%, 75%)
CMYKcmyk(15.2%, 72.8%, 0%, 25.1%)
CIE-LABlab(44.09, 63.61, -51.33)
CIE-LCHlch(44.09, 81.73, 321.10°)
OKLaboklab(54.61% 0.1617 -0.1442)
OKLCHoklch(54.61% 0.217 318.3)
XYZxyz(25.5310, 13.9001, 50.6183)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234BF #51BF34
analogous
#5C34BF #A234BF #BF3497
triadic
#A234BF #BFA234 #34BFA2
tetradic
#A234BF #BF5C34 #51BF34 #3497BF
square
#A234BF #BF5C34 #51BF34 #3497BF
split-complementary
#A234BF #97BF34 #34BF5C
monochromatic
#501A5F #79278F #A234BF #BA5DD3 #CF8DE0

Accessibility & contrast

On white

5.56
#A234BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A234BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234BF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234BF#FFFFFF#000000##FFFFFF
##A234BF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#A15077
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a234bf;
/* rgb */ color: rgb(162, 52, 191);
/* oklch */ color: oklch(54.6% 0.217 318.3);
Tailwind
colors: {
  custom: {
    50: '#c276d3',
    500: '#a234bf',
    950: '#000000',
  },
}
SCSS
$custom: #a234bf;
$custom-light: #c276d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a234bf",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 287.482,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54606,
    "c": 0.21666,
    "h": 318.3
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

primary
#A234BF
secondary
#93CA84
accent
#E04767
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A234BF

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

Preview Lab → · Contrast checker → · Palette generator →

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