#A235B7#A235B7

#A235B7 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.209 H 320.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A235B7
RGBrgb(162, 53, 183)
HSLhsl(290, 55%, 46%)
HSVhsv(290, 71%, 72%)
CMYKcmyk(11.5%, 71%, 0%, 28.2%)
CIE-LABlab(43.72, 61.73, -47.23)
CIE-LCHlch(43.72, 77.73, 322.58°)
OKLaboklab(54.19% 0.1614 -0.1322)
OKLCHoklch(54.19% 0.209 320.7)
XYZxyz(24.7196, 13.6478, 46.1228)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235B7 #4AB735
analogous
#6135B7 #A235B7 #B7358B
triadic
#A235B7 #B7A235 #35B7A2
tetradic
#A235B7 #B76135 #4AB735 #358BB7
square
#A235B7 #B76135 #4AB735 #358BB7
split-complementary
#A235B7 #8BB735 #35B761
monochromatic
#4E1A58 #782788 #A235B7 #BC5ACF #CF89DD

Accessibility & contrast

On white

5.63
#A235B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A235B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235B7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235B7#FFFFFF#000000##FFFFFF
##A235B71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#436BB4
Tritanopia (blue-blind)
#A34D73
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a235b7;
/* rgb */ color: rgb(162, 53, 183);
/* oklch */ color: oklch(54.2% 0.209 320.7);
Tailwind
colors: {
  custom: {
    50: '#c176cd',
    500: '#a235b7',
    950: '#000000',
  },
}
SCSS
$custom: #a235b7;
$custom-light: #c176cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a235b7",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 290.308,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.20858,
    "h": 320.7
  },
  "luminance": 0.13646
}

Semantic roles & 50–950 ramp

primary
#A235B7
secondary
#8CC781
accent
#DE4961
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A235B7

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

Preview Lab → · Contrast checker → · Palette generator →

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