#A233A1#A233A1

#A233A1 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.193 H 328.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A233A1
RGBrgb(162, 51, 161)
HSLhsl(301, 52%, 42%)
HSVhsv(301, 69%, 64%)
CMYKcmyk(0%, 68.5%, 0.6%, 36.5%)
CIE-LABlab(42.19, 58.56, -36.63)
CIE-LCHlch(42.19, 69.07, 327.98°)
OKLaboklab(52.68% 0.1637 -0.1013)
OKLCHoklch(52.68% 0.193 328.3)
XYZxyz(22.5169, 12.6238, 34.9620)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233A1 #33A234
analogous
#6C33A2 #A233A1 #A23369
triadic
#A233A1 #A1A233 #33A1A2
tetradic
#A233A1 #A26C33 #33A234 #3369A2
square
#A233A1 #A26C33 #33A234 #3369A2
split-complementary
#A233A1 #69A233 #33A26C
monochromatic
#451644 #732473 #A233A1 #C74CC5 #D57AD4

Accessibility & contrast

On white

5.96
#A233A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A233A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233A1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233A1#FFFFFF#000000##FFFFFF
##A233A11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235AA4
Deuteranopia (green-blind)
#50699E
Tritanopia (blue-blind)
#A74266
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a233a1;
/* rgb */ color: rgb(162, 51, 161);
/* oklch */ color: oklch(52.7% 0.193 328.3);
Tailwind
colors: {
  custom: {
    50: '#c175bd',
    500: '#a233a1',
    950: '#000000',
  },
}
SCSS
$custom: #a233a1;
$custom-light: #c175bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a233a1",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 300.541,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.1925,
    "h": 328.3
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#A233A1
secondary
#73BE74
accent
#DC4E4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A233A1

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

Preview Lab → · Contrast checker → · Palette generator →

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