#A235AB#A235AB

#A235AB is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.198 H 324.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A235AB
RGBrgb(162, 53, 171)
HSLhsl(295, 53%, 44%)
HSVhsv(295, 69%, 67%)
CMYKcmyk(5.3%, 69%, 0%, 32.9%)
CIE-LABlab(43.02, 59.54, -41.27)
CIE-LCHlch(43.02, 72.45, 325.27°)
OKLaboklab(53.45% 0.1617 -0.1148)
OKLCHoklch(53.45% 0.198 324.6)
XYZxyz(23.5235, 13.1693, 39.8231)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235AB #3EAB35
analogous
#6735AB #A235AB #AB3579
triadic
#A235AB #ABA235 #35ABA2
tetradic
#A235AB #AB6735 #3EAB35 #3579AB
square
#A235AB #AB6735 #3EAB35 #3579AB
split-complementary
#A235AB #79AB35 #35AB67
monochromatic
#49184E #76277C #A235AB #C153CA #D282D8

Accessibility & contrast

On white

5.78
#A235AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A235AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235AB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235AB#FFFFFF#000000##FFFFFF
##A235AB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAE
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#A5486C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a235ab;
/* rgb */ color: rgb(162, 53, 171);
/* oklch */ color: oklch(53.5% 0.198 324.6);
Tailwind
colors: {
  custom: {
    50: '#c176c4',
    500: '#a235ab',
    950: '#000000',
  },
}
SCSS
$custom: #a235ab;
$custom-light: #c176c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a235ab",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 295.424,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.19831,
    "h": 324.6
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#A235AB
secondary
#80C27A
accent
#DC4C57
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A235AB

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

Preview Lab → · Contrast checker → · Palette generator →

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