#A233AB#A233AB

#A233AB is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.201 H 324.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A233AB
RGBrgb(162, 51, 171)
HSLhsl(296, 54%, 44%)
HSVhsv(296, 70%, 67%)
CMYKcmyk(5.3%, 70.2%, 0%, 32.9%)
CIE-LABlab(42.75, 60.30, -41.70)
CIE-LCHlch(42.75, 73.31, 325.33°)
OKLaboklab(53.26% 0.1638 -0.116)
OKLCHoklch(53.26% 0.201 324.7)
XYZxyz(23.4342, 12.9908, 39.7933)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233AB #3CAB33
analogous
#6633AB #A233AB #AB3378
triadic
#A233AB #ABA233 #33ABA2
tetradic
#A233AB #AB6633 #3CAB33 #3378AB
square
#A233AB #AB6633 #3CAB33 #3378AB
split-complementary
#A233AB #78AB33 #33AB66
monochromatic
#49174D #75257C #A233AB #C250CB #D27FD9

Accessibility & contrast

On white

5.84
#A233AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A233AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233AB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233AB#FFFFFF#000000##FFFFFF
##A233AB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135CAE
Deuteranopia (green-blind)
#4A6AA8
Tritanopia (blue-blind)
#A5476B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a233ab;
/* rgb */ color: rgb(162, 51, 171);
/* oklch */ color: oklch(53.3% 0.201 324.7);
Tailwind
colors: {
  custom: {
    50: '#c175c4',
    500: '#a233ab',
    950: '#000000',
  },
}
SCSS
$custom: #a233ab;
$custom-light: #c175c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a233ab",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 295.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.20074,
    "h": 324.7
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#A233AB
secondary
#7DC278
accent
#DD4A55
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A233AB

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

Preview Lab → · Contrast checker → · Palette generator →

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