#A233C2#A233C2

#A233C2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.220 H 317.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A233C2
RGBrgb(162, 51, 194)
HSLhsl(287, 58%, 48%)
HSVhsv(287, 74%, 76%)
CMYKcmyk(16.5%, 73.7%, 0%, 23.9%)
CIE-LABlab(44.15, 64.54, -52.98)
CIE-LCHlch(44.15, 83.50, 320.62°)
OKLaboklab(54.71% 0.1624 -0.149)
OKLCHoklch(54.71% 0.22 317.5)
XYZxyz(25.8203, 13.9452, 52.3601)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233C2 #53C233
analogous
#5A33C2 #A233C2 #C2339B
triadic
#A233C2 #C2A233 #33C2A2
tetradic
#A233C2 #C25A33 #53C233 #339BC2
square
#A233C2 #C25A33 #53C233 #339BC2
split-complementary
#A233C2 #9BC233 #33C25A
monochromatic
#511A61 #7A2692 #A233C2 #BA5ED5 #CF8EE1

Accessibility & contrast

On white

5.54
#A233C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A233C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233C2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233C2#FFFFFF#000000##FFFFFF
##A233C21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#A15178
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a233c2;
/* rgb */ color: rgb(162, 51, 194);
/* oklch */ color: oklch(54.7% 0.220 317.5);
Tailwind
colors: {
  custom: {
    50: '#c276d5',
    500: '#a233c2',
    950: '#000000',
  },
}
SCSS
$custom: #a233c2;
$custom-light: #c276d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a233c2",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 286.573,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54714,
    "c": 0.22036,
    "h": 317.5
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#A233C2
secondary
#95CC85
accent
#E24669
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A233C2

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

Preview Lab → · Contrast checker → · Palette generator →

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