#A235AA#A235AA

#A235AA is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.197 H 325.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A235AA
RGBrgb(162, 53, 170)
HSLhsl(296, 52%, 44%)
HSVhsv(296, 69%, 67%)
CMYKcmyk(4.7%, 68.8%, 0%, 33.3%)
CIE-LABlab(42.96, 59.36, -40.77)
CIE-LCHlch(42.96, 72.01, 325.52°)
OKLaboklab(53.39% 0.1617 -0.1133)
OKLCHoklch(53.39% 0.197 325)
XYZxyz(23.4285, 13.1313, 39.3230)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235AA #3DAA35
analogous
#6735AA #A235AA #AA3577
triadic
#A235AA #AAA235 #35AAA2
tetradic
#A235AA #AA6735 #3DAA35 #3577AA
square
#A235AA #AA6735 #3DAA35 #3577AA
split-complementary
#A235AA #77AA35 #35AA67
monochromatic
#49184D #76267B #A235AA #C153C9 #D282D8

Accessibility & contrast

On white

5.79
#A235AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A235AA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235AA#FFFFFF#000000##FFFFFF
##A235AA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAD
Deuteranopia (green-blind)
#4C6AA7
Tritanopia (blue-blind)
#A6486B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a235aa;
/* rgb */ color: rgb(162, 53, 170);
/* oklch */ color: oklch(53.4% 0.197 325.0);
Tailwind
colors: {
  custom: {
    50: '#c176c4',
    500: '#a235aa',
    950: '#000000',
  },
}
SCSS
$custom: #a235aa;
$custom-light: #c176c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a235aa",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 295.897,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53394,
    "c": 0.19748,
    "h": 325
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#A235AA
secondary
#7EC17A
accent
#DC4C56
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A235AA

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

Preview Lab → · Contrast checker → · Palette generator →

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