#A235B8#A235B8

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

Color values

HEX#A235B8
RGBrgb(162, 53, 184)
HSLhsl(290, 55%, 46%)
HSVhsv(290, 71%, 72%)
CMYKcmyk(12%, 71.2%, 0%, 27.8%)
CIE-LABlab(43.78, 61.92, -47.72)
CIE-LCHlch(43.78, 78.17, 322.38°)
OKLaboklab(54.25% 0.1613 -0.1336)
OKLCHoklch(54.25% 0.209 320.4)
XYZxyz(24.8241, 13.6895, 46.6729)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235B8 #4BB835
analogous
#6135B8 #A235B8 #B8358D
triadic
#A235B8 #B8A235 #35B8A2
tetradic
#A235B8 #B86135 #4BB835 #358DB8
square
#A235B8 #B86135 #4BB835 #358DB8
split-complementary
#A235B8 #8DB835 #35B861
monochromatic
#4E1A59 #782788 #A235B8 #BC5BD0 #CF8ADD

Accessibility & contrast

On white

5.62
#A235B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A235B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235B8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235B8#FFFFFF#000000##FFFFFF
##A235B81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#426BB5
Tritanopia (blue-blind)
#A34E73
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a235b8;
/* rgb */ color: rgb(162, 53, 184);
/* oklch */ color: oklch(54.3% 0.209 320.4);
Tailwind
colors: {
  custom: {
    50: '#c176ce',
    500: '#a235b8',
    950: '#000000',
  },
}
SCSS
$custom: #a235b8;
$custom-light: #c176ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a235b8",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 289.924,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5425,
    "c": 0.20944,
    "h": 320.4
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#A235B8
secondary
#8DC781
accent
#DF4962
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A235B8

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

Preview Lab → · Contrast checker → · Palette generator →

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