#A233A4#A233A4

#A233A4 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.195 H 327.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A233A4
RGBrgb(162, 51, 164)
HSLhsl(299, 53%, 42%)
HSVhsv(299, 69%, 64%)
CMYKcmyk(1.2%, 68.9%, 0%, 35.7%)
CIE-LABlab(42.35, 59.07, -38.16)
CIE-LCHlch(42.35, 70.33, 327.14°)
OKLaboklab(52.85% 0.1638 -0.1057)
OKLCHoklch(52.85% 0.195 327.2)
XYZxyz(22.7846, 12.7309, 36.3720)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233A4 #35A433
analogous
#6A33A4 #A233A4 #A4336E
triadic
#A233A4 #A4A233 #33A4A2
tetradic
#A233A4 #A46A33 #35A433 #336EA4
square
#A233A4 #A46A33 #35A433 #336EA4
split-complementary
#A233A4 #6EA433 #33A46A
monochromatic
#461647 #742475 #A233A4 #C54DC8 #D47BD6

Accessibility & contrast

On white

5.92
#A233A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A233A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233A4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233A4#FFFFFF#000000##FFFFFF
##A233A41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA7
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#A74468
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a233a4;
/* rgb */ color: rgb(162, 51, 164);
/* oklch */ color: oklch(52.9% 0.195 327.2);
Tailwind
colors: {
  custom: {
    50: '#c175bf',
    500: '#a233a4',
    950: '#000000',
  },
}
SCSS
$custom: #a233a4;
$custom-light: #c175bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a233a4",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 298.938,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.19495,
    "h": 327.2
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#A233A4
secondary
#75BF74
accent
#DC4C4E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A233A4

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

Preview Lab → · Contrast checker → · Palette generator →

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