#A235B9#A235B9

#A235B9 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.210 H 320.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A235B9
RGBrgb(162, 53, 185)
HSLhsl(290, 55%, 47%)
HSVhsv(290, 71%, 73%)
CMYKcmyk(12.4%, 71.4%, 0%, 27.5%)
CIE-LABlab(43.85, 62.10, -48.21)
CIE-LCHlch(43.85, 78.62, 322.18°)
OKLaboklab(54.31% 0.1612 -0.135)
OKLCHoklch(54.31% 0.21 320.1)
XYZxyz(24.9293, 13.7316, 47.2269)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235B9 #4CB935
analogous
#6035B9 #A235B9 #B9358E
triadic
#A235B9 #B9A235 #35B9A2
tetradic
#A235B9 #B96035 #4CB935 #358EB9
square
#A235B9 #B96035 #4CB935 #358EB9
split-complementary
#A235B9 #8EB935 #35B960
monochromatic
#4F1A5A #782789 #A235B9 #BC5BD0 #CF8BDE

Accessibility & contrast

On white

5.61
#A235B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A235B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235B9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235B9#FFFFFF#000000##FFFFFF
##A235B91.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#416BB6
Tritanopia (blue-blind)
#A34E74
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a235b9;
/* rgb */ color: rgb(162, 53, 185);
/* oklch */ color: oklch(54.3% 0.210 320.1);
Tailwind
colors: {
  custom: {
    50: '#c176cf',
    500: '#a235b9',
    950: '#000000',
  },
}
SCSS
$custom: #a235b9;
$custom-light: #c176cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a235b9",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 289.545,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.21031,
    "h": 320.1
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#A235B9
secondary
#8EC882
accent
#DF4963
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A235B9

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

Preview Lab → · Contrast checker → · Palette generator →

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