#A235A5#A235A5

#A235A5 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.193 H 326.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A235A5
RGBrgb(162, 53, 165)
HSLhsl(298, 51%, 43%)
HSVhsv(298, 68%, 65%)
CMYKcmyk(1.8%, 67.9%, 0%, 35.3%)
CIE-LABlab(42.68, 58.48, -38.24)
CIE-LCHlch(42.68, 69.87, 326.82°)
OKLaboklab(53.1% 0.1617 -0.106)
OKLCHoklch(53.1% 0.193 326.8)
XYZxyz(22.9645, 12.9457, 36.8792)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235A5 #38A535
analogous
#6A35A5 #A235A5 #A53570
triadic
#A235A5 #A5A235 #35A5A2
tetradic
#A235A5 #A56A35 #38A535 #3570A5
square
#A235A5 #A56A35 #38A535 #3570A5
split-complementary
#A235A5 #70A535 #35A56A
monochromatic
#471748 #752677 #A235A5 #C450C7 #D37FD6

Accessibility & contrast

On white

5.85
#A235A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A235A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235A5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235A5#FFFFFF#000000##FFFFFF
##A235A51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA8
Deuteranopia (green-blind)
#4F6AA2
Tritanopia (blue-blind)
#A64569
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a235a5;
/* rgb */ color: rgb(162, 53, 165);
/* oklch */ color: oklch(53.1% 0.193 326.8);
Tailwind
colors: {
  custom: {
    50: '#c176c0',
    500: '#a235a5',
    950: '#000000',
  },
}
SCSS
$custom: #a235a5;
$custom-light: #c176c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a235a5",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 298.393,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53104,
    "c": 0.1933,
    "h": 326.8
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#A235A5
secondary
#79BF77
accent
#DB4D51
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A235A5

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

Preview Lab → · Contrast checker → · Palette generator →

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