#A235B6#A235B6

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

Color values

HEX#A235B6
RGBrgb(162, 53, 182)
HSLhsl(291, 55%, 46%)
HSVhsv(291, 71%, 71%)
CMYKcmyk(11%, 70.9%, 0%, 28.6%)
CIE-LABlab(43.66, 61.54, -46.74)
CIE-LCHlch(43.66, 77.28, 322.78°)
OKLaboklab(54.12% 0.1614 -0.1307)
OKLCHoklch(54.12% 0.208 321)
XYZxyz(24.6159, 13.6063, 45.5766)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235B6 #49B635
analogous
#6135B6 #A235B6 #B63589
triadic
#A235B6 #B6A235 #35B6A2
tetradic
#A235B6 #B66135 #49B635 #3589B6
square
#A235B6 #B66135 #49B635 #3589B6
split-complementary
#A235B6 #89B635 #35B661
monochromatic
#4E1957 #782787 #A235B6 #BD59CF #D089DD

Accessibility & contrast

On white

5.64
#A235B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A235B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235B6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235B6#FFFFFF#000000##FFFFFF
##A235B61.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#436BB3
Tritanopia (blue-blind)
#A34D72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a235b6;
/* rgb */ color: rgb(162, 53, 182);
/* oklch */ color: oklch(54.1% 0.208 321.0);
Tailwind
colors: {
  custom: {
    50: '#c176cc',
    500: '#a235b6',
    950: '#000000',
  },
}
SCSS
$custom: #a235b6;
$custom-light: #c176cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a235b6",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 290.698,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.20772,
    "h": 321
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#A235B6
secondary
#8BC780
accent
#DE4A61
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A235B6

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

Preview Lab → · Contrast checker → · Palette generator →

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