#A233A8#A233A8

#A233A8 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.198 H 325.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A233A8
RGBrgb(162, 51, 168)
HSLhsl(297, 53%, 43%)
HSVhsv(297, 70%, 66%)
CMYKcmyk(3.6%, 69.6%, 0%, 34.1%)
CIE-LABlab(42.58, 59.77, -40.19)
CIE-LCHlch(42.58, 72.02, 326.08°)
OKLaboklab(53.08% 0.1638 -0.1116)
OKLCHoklch(53.08% 0.198 325.7)
XYZxyz(23.1515, 12.8777, 38.3044)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233A8 #39A833
analogous
#6733A8 #A233A8 #A83373
triadic
#A233A8 #A8A233 #33A8A2
tetradic
#A233A8 #A86733 #39A833 #3373A8
square
#A233A8 #A86733 #39A833 #3373A8
split-complementary
#A233A8 #73A833 #33A867
monochromatic
#47164A #752579 #A233A8 #C34FC9 #D37ED8

Accessibility & contrast

On white

5.87
#A233A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A233A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233A8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233A8#FFFFFF#000000##FFFFFF
##A233A81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAB
Deuteranopia (green-blind)
#4C69A5
Tritanopia (blue-blind)
#A6456A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a233a8;
/* rgb */ color: rgb(162, 51, 168);
/* oklch */ color: oklch(53.1% 0.198 325.7);
Tailwind
colors: {
  custom: {
    50: '#c175c2',
    500: '#a233a8',
    950: '#000000',
  },
}
SCSS
$custom: #a233a8;
$custom-light: #c175c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a233a8",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 296.923,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.19823,
    "h": 325.7
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#A233A8
secondary
#7AC176
accent
#DD4B52
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A233A8

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

Preview Lab → · Contrast checker → · Palette generator →

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