#A233B7#A233B7

#A233B7 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.211 H 320.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A233B7
RGBrgb(162, 51, 183)
HSLhsl(290, 56%, 46%)
HSVhsv(290, 72%, 72%)
CMYKcmyk(11.5%, 72.1%, 0%, 28.2%)
CIE-LABlab(43.46, 62.47, -47.65)
CIE-LCHlch(43.46, 78.57, 322.66°)
OKLaboklab(54% 0.1633 -0.1334)
OKLCHoklch(54% 0.211 320.8)
XYZxyz(24.6304, 13.4692, 46.0930)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233B7 #48B733
analogous
#6033B7 #A233B7 #B7338A
triadic
#A233B7 #B7A233 #33B7A2
tetradic
#A233B7 #B76033 #48B733 #338AB7
square
#A233B7 #B76033 #48B733 #338AB7
split-complementary
#A233B7 #8AB733 #33B760
monochromatic
#4D1857 #782687 #A233B7 #BD57D0 #D087DE

Accessibility & contrast

On white

5.69
#A233B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A233B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233B7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233B7#FFFFFF#000000##FFFFFF
##A233B71.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#416BB4
Tritanopia (blue-blind)
#A34C72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a233b7;
/* rgb */ color: rgb(162, 51, 183);
/* oklch */ color: oklch(54.0% 0.211 320.8);
Tailwind
colors: {
  custom: {
    50: '#c175cd',
    500: '#a233b7',
    950: '#000000',
  },
}
SCSS
$custom: #a233b7;
$custom-light: #c175cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a233b7",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 290.455,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54,
    "c": 0.21088,
    "h": 320.8
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#A233B7
secondary
#8AC77F
accent
#E04860
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A233B7

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

Preview Lab → · Contrast checker → · Palette generator →

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