#A235AC#A235AC

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

Color values

HEX#A235AC
RGBrgb(162, 53, 172)
HSLhsl(295, 53%, 44%)
HSVhsv(295, 69%, 67%)
CMYKcmyk(5.8%, 69.2%, 0%, 32.5%)
CIE-LABlab(43.07, 59.72, -41.78)
CIE-LCHlch(43.07, 72.88, 325.02°)
OKLaboklab(53.51% 0.1617 -0.1162)
OKLCHoklch(53.51% 0.199 324.3)
XYZxyz(23.6192, 13.2076, 40.3270)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235AC #3FAC35
analogous
#6735AC #A235AC #AC357B
triadic
#A235AC #ACA235 #35ACA2
tetradic
#A235AC #AC6735 #3FAC35 #357BAC
square
#A235AC #AC6735 #3FAC35 #357BAC
split-complementary
#A235AC #7BAC35 #35AC67
monochromatic
#4A184E #76277D #A235AC #C054CA #D183D9

Accessibility & contrast

On white

5.77
#A235AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A235AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235AC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235AC#FFFFFF#000000##FFFFFF
##A235AC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAF
Deuteranopia (green-blind)
#4A6AA9
Tritanopia (blue-blind)
#A5486D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a235ac;
/* rgb */ color: rgb(162, 53, 172);
/* oklch */ color: oklch(53.5% 0.199 324.3);
Tailwind
colors: {
  custom: {
    50: '#c176c5',
    500: '#a235ac',
    950: '#000000',
  },
}
SCSS
$custom: #a235ac;
$custom-light: #c176c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a235ac",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 294.958,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.19917,
    "h": 324.3
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#A235AC
secondary
#81C27B
accent
#DC4C58
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A235AC

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

Preview Lab → · Contrast checker → · Palette generator →

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