#A233B2#A233B2

#A233B2 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.207 H 322.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A233B2
RGBrgb(162, 51, 178)
HSLhsl(292, 55%, 45%)
HSVhsv(292, 71%, 70%)
CMYKcmyk(9%, 71.3%, 0%, 30.2%)
CIE-LABlab(43.16, 61.55, -45.19)
CIE-LCHlch(43.16, 76.36, 323.72°)
OKLaboklab(53.69% 0.1636 -0.1262)
OKLCHoklch(53.69% 0.207 322.4)
XYZxyz(24.1192, 13.2648, 43.4008)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233B2 #43B233
analogous
#6333B2 #A233B2 #B23383
triadic
#A233B2 #B2A233 #33B2A2
tetradic
#A233B2 #B26333 #43B233 #3383B2
square
#A233B2 #B26333 #43B233 #3383B2
split-complementary
#A233B2 #83B233 #33B263
monochromatic
#4B1853 #772582 #A233B2 #BF54CE #D184DC

Accessibility & contrast

On white

5.75
#A233B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A233B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233B2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233B2#FFFFFF#000000##FFFFFF
##A233B21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#A44A6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a233b2;
/* rgb */ color: rgb(162, 51, 178);
/* oklch */ color: oklch(53.7% 0.207 322.4);
Tailwind
colors: {
  custom: {
    50: '#c175ca',
    500: '#a233b2',
    950: '#000000',
  },
}
SCSS
$custom: #a233b2;
$custom-light: #c175ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a233b2",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 292.441,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.20662,
    "h": 322.4
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#A233B2
secondary
#85C57C
accent
#DF495C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A233B2

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

Preview Lab → · Contrast checker → · Palette generator →

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