#A233AA#A233AA

#A233AA is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.200 H 325.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A233AA
RGBrgb(162, 51, 170)
HSLhsl(296, 54%, 43%)
HSVhsv(296, 70%, 67%)
CMYKcmyk(4.7%, 70%, 0%, 33.3%)
CIE-LABlab(42.69, 60.12, -41.20)
CIE-LCHlch(42.69, 72.88, 325.58°)
OKLaboklab(53.2% 0.1638 -0.1145)
OKLCHoklch(53.2% 0.2 325)
XYZxyz(23.3393, 12.9528, 39.2932)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233AA #3BAA33
analogous
#6633AA #A233AA #AA3376
triadic
#A233AA #AAA233 #33AAA2
tetradic
#A233AA #AA6633 #3BAA33 #3376AA
square
#A233AA #AA6633 #3BAA33 #3376AA
split-complementary
#A233AA #76AA33 #33AA66
monochromatic
#48174C #75257B #A233AA #C250CA #D37FD9

Accessibility & contrast

On white

5.85
#A233AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A233AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233AA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233AA#FFFFFF#000000##FFFFFF
##A233AA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAD
Deuteranopia (green-blind)
#4B69A7
Tritanopia (blue-blind)
#A6466B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a233aa;
/* rgb */ color: rgb(162, 51, 170);
/* oklch */ color: oklch(53.2% 0.200 325.0);
Tailwind
colors: {
  custom: {
    50: '#c175c4',
    500: '#a233aa',
    950: '#000000',
  },
}
SCSS
$custom: #a233aa;
$custom-light: #c175c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a233aa",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 295.966,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.1999,
    "h": 325
  },
  "luminance": 0.12951
}

Semantic roles & 50–950 ramp

primary
#A233AA
secondary
#7CC277
accent
#DD4B54
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A233AA

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

Preview Lab → · Contrast checker → · Palette generator →

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