#A234C7#A234C7

#A234C7 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.224 H 316.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A234C7
RGBrgb(162, 52, 199)
HSLhsl(285, 59%, 49%)
HSVhsv(285, 74%, 78%)
CMYKcmyk(18.6%, 73.9%, 0%, 22%)
CIE-LABlab(44.61, 65.14, -55.16)
CIE-LCHlch(44.61, 85.36, 319.75°)
OKLaboklab(55.14% 0.1609 -0.1554)
OKLCHoklch(55.14% 0.224 316)
XYZxyz(26.4355, 14.2619, 55.3821)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234C7 #59C734
analogous
#5934C7 #A234C7 #C734A3
triadic
#A234C7 #C7A234 #34C7A2
tetradic
#A234C7 #C75934 #59C734 #34A3C7
square
#A234C7 #C75934 #59C734 #34A3C7
split-complementary
#A234C7 #A3C734 #34C759
monochromatic
#531B66 #7B2796 #A234C7 #B962D6 #CF93E3

Accessibility & contrast

On white

5.45
#A234C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A234C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234C7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234C7#FFFFFF#000000##FFFFFF
##A234C71.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#326CC4
Tritanopia (blue-blind)
#9F547B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a234c7;
/* rgb */ color: rgb(162, 52, 199);
/* oklch */ color: oklch(55.1% 0.224 316.0);
Tailwind
colors: {
  custom: {
    50: '#c276d9',
    500: '#a234c7',
    950: '#000000',
  },
}
SCSS
$custom: #a234c7;
$custom-light: #c276d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a234c7",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 284.898,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.22364,
    "h": 316
  },
  "luminance": 0.14261
}

Semantic roles & 50–950 ramp

primary
#A234C7
secondary
#9ACE89
accent
#E2466D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A234C7

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

Preview Lab → · Contrast checker → · Palette generator →

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