#A235A4#A235A4

#A235A4 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.192 H 327.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A235A4
RGBrgb(162, 53, 164)
HSLhsl(299, 51%, 43%)
HSVhsv(299, 68%, 64%)
CMYKcmyk(1.2%, 67.7%, 0%, 35.7%)
CIE-LABlab(42.63, 58.31, -37.73)
CIE-LCHlch(42.63, 69.45, 327.09°)
OKLaboklab(53.05% 0.1616 -0.1045)
OKLCHoklch(53.05% 0.192 327.1)
XYZxyz(22.8739, 12.9095, 36.4018)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235A4 #37A435
analogous
#6B35A4 #A235A4 #A4356E
triadic
#A235A4 #A4A235 #35A4A2
tetradic
#A235A4 #A46B35 #37A435 #356EA4
square
#A235A4 #A46B35 #37A435 #356EA4
split-complementary
#A235A4 #6EA435 #35A46B
monochromatic
#471747 #742676 #A235A4 #C450C6 #D47ED5

Accessibility & contrast

On white

5.86
#A235A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A235A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235A4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235A4#FFFFFF#000000##FFFFFF
##A235A41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#4F6AA1
Tritanopia (blue-blind)
#A74568
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a235a4;
/* rgb */ color: rgb(162, 53, 164);
/* oklch */ color: oklch(53.0% 0.192 327.1);
Tailwind
colors: {
  custom: {
    50: '#c176bf',
    500: '#a235a4',
    950: '#000000',
  },
}
SCSS
$custom: #a235a4;
$custom-light: #c176bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a235a4",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 298.919,
    "s": 51.152,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53046,
    "c": 0.19247,
    "h": 327.1
  },
  "luminance": 0.12908
}

Semantic roles & 50–950 ramp

primary
#A235A4
secondary
#78BE76
accent
#DB4D50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A235A4

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

Preview Lab → · Contrast checker → · Palette generator →

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