#A233C4#A233C4

#A233C4 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.222 H 316.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A233C4
RGBrgb(162, 51, 196)
HSLhsl(286, 59%, 48%)
HSVhsv(286, 74%, 77%)
CMYKcmyk(17.3%, 74%, 0%, 23.1%)
CIE-LABlab(44.28, 64.92, -53.93)
CIE-LCHlch(44.28, 84.40, 320.28°)
OKLaboklab(54.85% 0.1621 -0.1518)
OKLCHoklch(54.85% 0.222 316.9)
XYZxyz(26.0464, 14.0357, 53.5510)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233C4 #55C433
analogous
#5933C4 #A233C4 #C4339D
triadic
#A233C4 #C4A233 #33C4A2
tetradic
#A233C4 #C45933 #55C433 #339DC4
square
#A233C4 #C45933 #55C433 #339DC4
split-complementary
#A233C4 #9DC433 #33C459
monochromatic
#521A63 #7A2693 #A233C4 #BA5FD5 #CF8FE2

Accessibility & contrast

On white

5.52
#A233C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A233C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233C4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233C4#FFFFFF#000000##FFFFFF
##A233C41.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#356CC1
Tritanopia (blue-blind)
#A05279
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a233c4;
/* rgb */ color: rgb(162, 51, 196);
/* oklch */ color: oklch(54.8% 0.222 316.9);
Tailwind
colors: {
  custom: {
    50: '#c276d7',
    500: '#a233c4',
    950: '#000000',
  },
}
SCSS
$custom: #a233c4;
$custom-light: #c276d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a233c4",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 285.931,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54847,
    "c": 0.2221,
    "h": 316.9
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#A233C4
secondary
#97CD86
accent
#E2466A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A233C4

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

Preview Lab → · Contrast checker → · Palette generator →

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