#A233BF#A233BF

#A233BF is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.218 H 318.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A233BF
RGBrgb(162, 51, 191)
HSLhsl(288, 58%, 47%)
HSVhsv(288, 73%, 75%)
CMYKcmyk(15.2%, 73.3%, 0%, 25.1%)
CIE-LABlab(43.96, 63.97, -51.54)
CIE-LCHlch(43.96, 82.15, 321.14°)
OKLaboklab(54.52% 0.1627 -0.1447)
OKLCHoklch(54.52% 0.218 318.3)
XYZxyz(25.4868, 13.8118, 50.6036)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233BF #50BF33
analogous
#5C33BF #A233BF #BF3396
triadic
#A233BF #BFA233 #33BFA2
tetradic
#A233BF #BF5C33 #50BF33 #3396BF
square
#A233BF #BF5C33 #50BF33 #3396BF
split-complementary
#A233BF #96BF33 #33BF5C
monochromatic
#50195E #79268F #A233BF #BB5CD3 #CF8CE0

Accessibility & contrast

On white

5.58
#A233BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A233BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233BF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233BF#FFFFFF#000000##FFFFFF
##A233BF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#A15077
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a233bf;
/* rgb */ color: rgb(162, 51, 191);
/* oklch */ color: oklch(54.5% 0.218 318.3);
Tailwind
colors: {
  custom: {
    50: '#c276d3',
    500: '#a233bf',
    950: '#000000',
  },
}
SCSS
$custom: #a233bf;
$custom-light: #c276d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a233bf",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 287.571,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54516,
    "c": 0.21776,
    "h": 318.3
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#A233BF
secondary
#92CB83
accent
#E14767
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A233BF

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

Preview Lab → · Contrast checker → · Palette generator →

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