#A235B5#A235B5

#A235B5 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.207 H 321.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A235B5
RGBrgb(162, 53, 181)
HSLhsl(291, 55%, 46%)
HSVhsv(291, 71%, 71%)
CMYKcmyk(10.5%, 70.7%, 0%, 29%)
CIE-LABlab(43.60, 61.36, -46.25)
CIE-LCHlch(43.60, 76.84, 322.99°)
OKLaboklab(54.06% 0.1615 -0.1293)
OKLCHoklch(54.06% 0.207 321.3)
XYZxyz(24.5129, 13.5651, 45.0343)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235B5 #48B535
analogous
#6235B5 #A235B5 #B53588
triadic
#A235B5 #B5A235 #35B5A2
tetradic
#A235B5 #B56235 #48B535 #3588B5
square
#A235B5 #B56235 #48B535 #3588B5
split-complementary
#A235B5 #88B535 #35B562
monochromatic
#4D1956 #782786 #A235B5 #BD59CE #D088DC

Accessibility & contrast

On white

5.66
#A235B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A235B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235B5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235B5#FFFFFF#000000##FFFFFF
##A235B51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#A34C72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a235b5;
/* rgb */ color: rgb(162, 53, 181);
/* oklch */ color: oklch(54.1% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#c176cc',
    500: '#a235b5',
    950: '#000000',
  },
}
SCSS
$custom: #a235b5;
$custom-light: #c176cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a235b5",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 291.094,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54061,
    "c": 0.20685,
    "h": 321.3
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#A235B5
secondary
#8AC680
accent
#DE4A60
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A235B5

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

Preview Lab → · Contrast checker → · Palette generator →

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