#A233BB#A233BB

#A233BB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.214 H 319.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A233BB
RGBrgb(162, 51, 187)
HSLhsl(289, 57%, 47%)
HSVhsv(289, 73%, 73%)
CMYKcmyk(13.4%, 72.7%, 0%, 26.7%)
CIE-LABlab(43.71, 63.22, -49.60)
CIE-LCHlch(43.71, 80.35, 321.88°)
OKLaboklab(54.26% 0.163 -0.1391)
OKLCHoklch(54.26% 0.214 319.5)
XYZxyz(25.0526, 13.6381, 48.3169)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233BB #4CBB33
analogous
#5E33BB #A233BB #BB3390
triadic
#A233BB #BBA233 #33BBA2
tetradic
#A233BB #BB5E33 #4CBB33 #3390BB
square
#A233BB #BB5E33 #4CBB33 #3390BB
split-complementary
#A233BB #90BB33 #33BB5E
monochromatic
#4F195B #78268B #A233BB #BC59D2 #CF89DF

Accessibility & contrast

On white

5.63
#A233BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A233BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233BB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233BB#FFFFFF#000000##FFFFFF
##A233BB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#A24E74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a233bb;
/* rgb */ color: rgb(162, 51, 187);
/* oklch */ color: oklch(54.3% 0.214 319.5);
Tailwind
colors: {
  custom: {
    50: '#c176d0',
    500: '#a233bb',
    950: '#000000',
  },
}
SCSS
$custom: #a233bb;
$custom-light: #c176d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a233bb",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 288.971,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.21431,
    "h": 319.5
  },
  "luminance": 0.13637
}

Semantic roles & 50–950 ramp

primary
#A233BB
secondary
#8EC981
accent
#E04764
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A233BB

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

Preview Lab → · Contrast checker → · Palette generator →

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