#A235AF#A235AF

#A235AF is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.202 H 323.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A235AF
RGBrgb(162, 53, 175)
HSLhsl(294, 54%, 45%)
HSVhsv(294, 70%, 69%)
CMYKcmyk(7.4%, 69.7%, 0%, 31.4%)
CIE-LABlab(43.25, 60.26, -43.28)
CIE-LCHlch(43.25, 74.19, 324.31°)
OKLaboklab(53.69% 0.1617 -0.1206)
OKLCHoklch(53.69% 0.202 323.3)
XYZxyz(23.9105, 13.3241, 41.8615)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235AF #42AF35
analogous
#6535AF #A235AF #AF357F
triadic
#A235AF #AFA235 #35AFA2
tetradic
#A235AF #AF6535 #42AF35 #357FAF
square
#A235AF #AF6535 #42AF35 #357FAF
split-complementary
#A235AF #7FAF35 #35AF65
monochromatic
#4B1951 #772780 #A235AF #BF56CC #D185DA

Accessibility & contrast

On white

5.73
#A235AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A235AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235AF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235AF#FFFFFF#000000##FFFFFF
##A235AF1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB2
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#A54A6E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a235af;
/* rgb */ color: rgb(162, 53, 175);
/* oklch */ color: oklch(53.7% 0.202 323.3);
Tailwind
colors: {
  custom: {
    50: '#c176c7',
    500: '#a235af',
    950: '#000000',
  },
}
SCSS
$custom: #a235af;
$custom-light: #c176c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a235af",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 293.607,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53693,
    "c": 0.20171,
    "h": 323.3
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

primary
#A235AF
secondary
#84C47C
accent
#DD4B5A
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A235AF

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

Preview Lab → · Contrast checker → · Palette generator →

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