#A233A5#A233A5

#A233A5 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.196 H 326.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A233A5
RGBrgb(162, 51, 165)
HSLhsl(298, 53%, 42%)
HSVhsv(298, 69%, 65%)
CMYKcmyk(1.8%, 69.1%, 0%, 35.3%)
CIE-LABlab(42.41, 59.24, -38.67)
CIE-LCHlch(42.41, 70.75, 326.87°)
OKLaboklab(52.91% 0.1638 -0.1072)
OKLCHoklch(52.91% 0.196 326.8)
XYZxyz(22.8753, 12.7672, 36.8495)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233A5 #36A533
analogous
#6933A5 #A233A5 #A5336F
triadic
#A233A5 #A5A233 #33A5A2
tetradic
#A233A5 #A56933 #36A533 #336FA5
square
#A233A5 #A56933 #36A533 #336FA5
split-complementary
#A233A5 #6FA533 #33A569
monochromatic
#461648 #742576 #A233A5 #C54DC8 #D47CD6

Accessibility & contrast

On white

5.91
#A233A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A233A5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233A5#FFFFFF#000000##FFFFFF
##A233A51.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#A64468
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a233a5;
/* rgb */ color: rgb(162, 51, 165);
/* oklch */ color: oklch(52.9% 0.196 326.8);
Tailwind
colors: {
  custom: {
    50: '#c175c0',
    500: '#a233a5',
    950: '#000000',
  },
}
SCSS
$custom: #a233a5;
$custom-light: #c175c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a233a5",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 298.421,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.19576,
    "h": 326.8
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#A233A5
secondary
#77BF75
accent
#DC4C4F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A233A5

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

Preview Lab → · Contrast checker → · Palette generator →

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