#A234BC#A234BC

#A234BC is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.214 H 319.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A234BC
RGBrgb(162, 52, 188)
HSLhsl(289, 57%, 47%)
HSVhsv(289, 72%, 74%)
CMYKcmyk(13.8%, 72.3%, 0%, 26.3%)
CIE-LABlab(43.90, 63.04, -49.88)
CIE-LCHlch(43.90, 80.39, 321.65°)
OKLaboklab(54.41% 0.162 -0.1399)
OKLCHoklch(54.41% 0.214 319.2)
XYZxyz(25.2042, 13.7694, 48.8974)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234BC #4EBC34
analogous
#5E34BC #A234BC #BC3492
triadic
#A234BC #BCA234 #34BCA2
tetradic
#A234BC #BC5E34 #4EBC34 #3492BC
square
#A234BC #BC5E34 #4EBC34 #3492BC
split-complementary
#A234BC #92BC34 #34BC5E
monochromatic
#4F195C #79278C #A234BC #BB5BD2 #CF8BDF

Accessibility & contrast

On white

5.59
#A234BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A234BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234BC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234BC#FFFFFF#000000##FFFFFF
##A234BC1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#3E6BB9
Tritanopia (blue-blind)
#A24F75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a234bc;
/* rgb */ color: rgb(162, 52, 188);
/* oklch */ color: oklch(54.4% 0.214 319.2);
Tailwind
colors: {
  custom: {
    50: '#c176d1',
    500: '#a234bc',
    950: '#000000',
  },
}
SCSS
$custom: #a234bc;
$custom-light: #c176d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a234bc",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 288.529,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.21405,
    "h": 319.2
  },
  "luminance": 0.13768
}

Semantic roles & 50–950 ramp

primary
#A234BC
secondary
#90C983
accent
#E04865
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A234BC

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

Preview Lab → · Contrast checker → · Palette generator →

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