#A233C5#A233C5

#A233C5 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.223 H 316.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A233C5
RGBrgb(162, 51, 197)
HSLhsl(286, 59%, 49%)
HSVhsv(286, 74%, 77%)
CMYKcmyk(17.8%, 74.1%, 0%, 22.7%)
CIE-LABlab(44.35, 65.12, -54.41)
CIE-LCHlch(44.35, 84.85, 320.12°)
OKLaboklab(54.91% 0.162 -0.1532)
OKLCHoklch(54.91% 0.223 316.6)
XYZxyz(26.1606, 14.0813, 54.1524)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233C5 #56C533
analogous
#5933C5 #A233C5 #C5339F
triadic
#A233C5 #C5A233 #33C5A2
tetradic
#A233C5 #C55933 #56C533 #339FC5
square
#A233C5 #C55933 #56C533 #339FC5
split-complementary
#A233C5 #9FC533 #33C559
monochromatic
#521A64 #7A2694 #A233C5 #B95FD6 #CF90E2

Accessibility & contrast

On white

5.50
#A233C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A233C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233C5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233C5#FFFFFF#000000##FFFFFF
##A233C51.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#346CC2
Tritanopia (blue-blind)
#A0527A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a233c5;
/* rgb */ color: rgb(162, 51, 197);
/* oklch */ color: oklch(54.9% 0.223 316.6);
Tailwind
colors: {
  custom: {
    50: '#c276d7',
    500: '#a233c5',
    950: '#000000',
  },
}
SCSS
$custom: #a233c5;
$custom-light: #c276d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a233c5",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 285.616,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.22297,
    "h": 316.6
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#A233C5
secondary
#98CD87
accent
#E2466B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A233C5

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

Preview Lab → · Contrast checker → · Palette generator →

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