#A233A2#A233A2

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

Color values

HEX#A233A2
RGBrgb(162, 51, 162)
HSLhsl(300, 52%, 42%)
HSVhsv(300, 69%, 64%)
CMYKcmyk(0%, 68.5%, 0%, 36.5%)
CIE-LABlab(42.25, 58.73, -37.14)
CIE-LCHlch(42.25, 69.49, 327.69°)
OKLaboklab(52.74% 0.1638 -0.1027)
OKLCHoklch(52.74% 0.193 327.9)
XYZxyz(22.6054, 12.6592, 35.4283)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233A2 #33A233
analogous
#6B33A2 #A233A2 #A2336B
triadic
#A233A2 #A2A233 #33A2A2
tetradic
#A233A2 #A26B33 #33A233 #336BA2
square
#A233A2 #A26B33 #33A233 #336BA2
split-complementary
#A233A2 #6BA233 #33A26B
monochromatic
#451645 #732473 #A233A2 #C74CC7 #D57AD5

Accessibility & contrast

On white

5.95
#A233A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A233A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233A2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233A2#FFFFFF#000000##FFFFFF
##A233A21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#4F699F
Tritanopia (blue-blind)
#A74367
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a233a2;
/* rgb */ color: rgb(162, 51, 162);
/* oklch */ color: oklch(52.7% 0.193 327.9);
Tailwind
colors: {
  custom: {
    50: '#c175be',
    500: '#a233a2',
    950: '#000000',
  },
}
SCSS
$custom: #a233a2;
$custom-light: #c175be;
$custom-dark: #000000;
JSON
{
  "hex": "#a233a2",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52736,
    "c": 0.19332,
    "h": 327.9
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#A233A2
secondary
#73BE73
accent
#DC4C4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A233A2

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

Preview Lab → · Contrast checker → · Palette generator →

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