#A235A2#A235A2

#A235A2 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.191 H 327.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A235A2
RGBrgb(162, 53, 162)
HSLhsl(300, 51%, 42%)
HSVhsv(300, 67%, 64%)
CMYKcmyk(0%, 67.3%, 0%, 36.5%)
CIE-LABlab(42.52, 57.96, -36.71)
CIE-LCHlch(42.52, 68.61, 327.65°)
OKLaboklab(52.93% 0.1616 -0.1015)
OKLCHoklch(52.93% 0.191 327.9)
XYZxyz(22.6947, 12.8378, 35.4580)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235A2 #35A235
analogous
#6C35A2 #A235A2 #A2356C
triadic
#A235A2 #A2A235 #35A2A2
tetradic
#A235A2 #A26C35 #35A235 #356CA2
square
#A235A2 #A26C35 #35A235 #356CA2
split-complementary
#A235A2 #6CA235 #35A26C
monochromatic
#461746 #742674 #A235A2 #C54FC5 #D47DD4

Accessibility & contrast

On white

5.89
#A235A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A235A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235A2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235A2#FFFFFF#000000##FFFFFF
##A235A21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#A74467
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a235a2;
/* rgb */ color: rgb(162, 53, 162);
/* oklch */ color: oklch(52.9% 0.191 327.9);
Tailwind
colors: {
  custom: {
    50: '#c176be',
    500: '#a235a2',
    950: '#000000',
  },
}
SCSS
$custom: #a235a2;
$custom-light: #c176be;
$custom-dark: #000000;
JSON
{
  "hex": "#a235a2",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.19082,
    "h": 327.9
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#A235A2
secondary
#75BD75
accent
#DA4E4E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A235A2

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

Preview Lab → · Contrast checker → · Palette generator →

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