#A235B2#A235B2

#A235B2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.204 H 322.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A235B2
RGBrgb(162, 53, 178)
HSLhsl(292, 54%, 45%)
HSVhsv(292, 70%, 70%)
CMYKcmyk(9%, 70.2%, 0%, 30.2%)
CIE-LABlab(43.42, 60.80, -44.77)
CIE-LCHlch(43.42, 75.51, 323.64°)
OKLaboklab(53.88% 0.1616 -0.125)
OKLCHoklch(53.88% 0.204 322.3)
XYZxyz(24.2084, 13.4433, 43.4305)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235B2 #45B235
analogous
#6335B2 #A235B2 #B23583
triadic
#A235B2 #B2A235 #35B2A2
tetradic
#A235B2 #B26335 #45B235 #3583B2
square
#A235B2 #B26335 #45B235 #3583B2
split-complementary
#A235B2 #83B235 #35B263
monochromatic
#4C1954 #772783 #A235B2 #BE57CD #D086DB

Accessibility & contrast

On white

5.69
#A235B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A235B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235B2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235B2#FFFFFF#000000##FFFFFF
##A235B21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045FB6
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#A44B70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a235b2;
/* rgb */ color: rgb(162, 53, 178);
/* oklch */ color: oklch(53.9% 0.204 322.3);
Tailwind
colors: {
  custom: {
    50: '#c176c9',
    500: '#a235b2',
    950: '#000000',
  },
}
SCSS
$custom: #a235b2;
$custom-light: #c176c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a235b2",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 292.32,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.20427,
    "h": 322.3
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#A235B2
secondary
#87C57E
accent
#DD4A5D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A235B2

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

Preview Lab → · Contrast checker → · Palette generator →

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