#A233A6#A233A6

#A233A6 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.197 H 326.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A233A6
RGBrgb(162, 51, 166)
HSLhsl(298, 53%, 43%)
HSVhsv(298, 69%, 65%)
CMYKcmyk(2.4%, 69.3%, 0%, 34.9%)
CIE-LABlab(42.47, 59.42, -39.18)
CIE-LCHlch(42.47, 71.17, 326.60°)
OKLaboklab(52.97% 0.1638 -0.1087)
OKLCHoklch(52.97% 0.197 326.4)
XYZxyz(22.9666, 12.8037, 37.3307)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233A6 #37A633
analogous
#6833A6 #A233A6 #A63371
triadic
#A233A6 #A6A233 #33A6A2
tetradic
#A233A6 #A66833 #37A633 #3371A6
square
#A233A6 #A66833 #37A633 #3371A6
split-complementary
#A233A6 #71A633 #33A668
monochromatic
#471648 #742577 #A233A6 #C44EC9 #D47CD7

Accessibility & contrast

On white

5.90
#A233A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A233A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233A6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233A6#FFFFFF#000000##FFFFFF
##A233A61.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA9
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#A64569
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a233a6;
/* rgb */ color: rgb(162, 51, 166);
/* oklch */ color: oklch(53.0% 0.197 326.4);
Tailwind
colors: {
  custom: {
    50: '#c175c1',
    500: '#a233a6',
    950: '#000000',
  },
}
SCSS
$custom: #a233a6;
$custom-light: #c175c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a233a6",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 297.913,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.19659,
    "h": 326.4
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#A233A6
secondary
#78C075
accent
#DC4B50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A233A6

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

Preview Lab → · Contrast checker → · Palette generator →

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