#A235B4#A235B4

#A235B4 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.206 H 321.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A235B4
RGBrgb(162, 53, 180)
HSLhsl(291, 55%, 46%)
HSVhsv(291, 71%, 71%)
CMYKcmyk(10%, 70.6%, 0%, 29.4%)
CIE-LABlab(43.54, 61.17, -45.76)
CIE-LCHlch(43.54, 76.39, 323.20°)
OKLaboklab(54% 0.1615 -0.1279)
OKLCHoklch(54% 0.206 321.6)
XYZxyz(24.4107, 13.5242, 44.4958)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235B4 #47B435
analogous
#6235B4 #A235B4 #B43586
triadic
#A235B4 #B4A235 #35B4A2
tetradic
#A235B4 #B46235 #47B435 #3586B4
square
#A235B4 #B46235 #47B435 #3586B4
split-complementary
#A235B4 #86B435 #35B462
monochromatic
#4D1955 #772785 #A235B4 #BD58CE #D088DC

Accessibility & contrast

On white

5.67
#A235B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A235B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235B4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235B4#FFFFFF#000000##FFFFFF
##A235B41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#A44C71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a235b4;
/* rgb */ color: rgb(162, 53, 180);
/* oklch */ color: oklch(54.0% 0.206 321.6);
Tailwind
colors: {
  custom: {
    50: '#c176cb',
    500: '#a235b4',
    950: '#000000',
  },
}
SCSS
$custom: #a235b4;
$custom-light: #c176cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a235b4",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 291.496,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53999,
    "c": 0.20599,
    "h": 321.6
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#A235B4
secondary
#89C67F
accent
#DE4A5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A235B4

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

Preview Lab → · Contrast checker → · Palette generator →

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