#A235B1#A235B1

#A235B1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.203 H 322.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A235B1
RGBrgb(162, 53, 177)
HSLhsl(293, 54%, 45%)
HSVhsv(293, 70%, 69%)
CMYKcmyk(8.5%, 70.1%, 0%, 30.6%)
CIE-LABlab(43.36, 60.62, -44.27)
CIE-LCHlch(43.36, 75.07, 323.86°)
OKLaboklab(53.82% 0.1616 -0.1235)
OKLCHoklch(53.82% 0.203 322.6)
XYZxyz(24.1084, 13.4033, 42.9037)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235B1 #44B135
analogous
#6435B1 #A235B1 #B13582
triadic
#A235B1 #B1A235 #35B1A2
tetradic
#A235B1 #B16435 #44B135 #3582B1
square
#A235B1 #B16435 #44B135 #3582B1
split-complementary
#A235B1 #82B135 #35B164
monochromatic
#4C1953 #772782 #A235B1 #BE57CD #D086DB

Accessibility & contrast

On white

5.71
#A235B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A235B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235B1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235B1#FFFFFF#000000##FFFFFF
##A235B11.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085EB5
Deuteranopia (green-blind)
#476BAE
Tritanopia (blue-blind)
#A44B6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a235b1;
/* rgb */ color: rgb(162, 53, 177);
/* oklch */ color: oklch(53.8% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#c176c9',
    500: '#a235b1',
    950: '#000000',
  },
}
SCSS
$custom: #a235b1;
$custom-light: #c176c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a235b1",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 292.742,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.20342,
    "h": 322.6
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#A235B1
secondary
#86C47D
accent
#DD4B5C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A235B1

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

Preview Lab → · Contrast checker → · Palette generator →

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