#A235A7#A235A7

#A235A7 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.195 H 326.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A235A7
RGBrgb(162, 53, 167)
HSLhsl(297, 52%, 43%)
HSVhsv(297, 68%, 65%)
CMYKcmyk(3%, 68.3%, 0%, 34.5%)
CIE-LABlab(42.79, 58.83, -39.25)
CIE-LCHlch(42.79, 70.72, 326.29°)
OKLaboklab(53.22% 0.1617 -0.1089)
OKLCHoklch(53.22% 0.195 326)
XYZxyz(23.1480, 13.0191, 37.8454)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235A7 #3AA735
analogous
#6935A7 #A235A7 #A73573
triadic
#A235A7 #A7A235 #35A7A2
tetradic
#A235A7 #A76935 #3AA735 #3573A7
square
#A235A7 #A76935 #3AA735 #3573A7
split-complementary
#A235A7 #73A735 #35A769
monochromatic
#48184A #752679 #A235A7 #C351C8 #D380D7

Accessibility & contrast

On white

5.83
#A235A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A235A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235A7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235A7#FFFFFF#000000##FFFFFF
##A235A71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5CAA
Deuteranopia (green-blind)
#4E6AA4
Tritanopia (blue-blind)
#A6466A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a235a7;
/* rgb */ color: rgb(162, 53, 167);
/* oklch */ color: oklch(53.2% 0.195 326.0);
Tailwind
colors: {
  custom: {
    50: '#c176c1',
    500: '#a235a7',
    950: '#000000',
  },
}
SCSS
$custom: #a235a7;
$custom-light: #c176c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a235a7",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 297.368,
    "s": 51.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53219,
    "c": 0.19497,
    "h": 326
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#A235A7
secondary
#7BC078
accent
#DB4D53
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A235A7

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

Preview Lab → · Contrast checker → · Palette generator →

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