#A233A0#A233A0

#A233A0 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.192 H 328.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A233A0
RGBrgb(162, 51, 160)
HSLhsl(301, 52%, 42%)
HSVhsv(301, 69%, 64%)
CMYKcmyk(0%, 68.5%, 1.2%, 36.5%)
CIE-LABlab(42.14, 58.39, -36.11)
CIE-LCHlch(42.14, 68.65, 328.26°)
OKLaboklab(52.62% 0.1637 -0.0998)
OKLCHoklch(52.62% 0.192 328.6)
XYZxyz(22.4290, 12.5887, 34.4994)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233A0 #33A235
analogous
#6D33A2 #A233A0 #A23369
triadic
#A233A0 #A0A233 #33A0A2
tetradic
#A233A0 #A26D33 #33A235 #3369A2
square
#A233A0 #A26D33 #33A235 #3369A2
split-complementary
#A233A0 #69A233 #33A26D
monochromatic
#451644 #732472 #A233A0 #C74CC4 #D57AD4

Accessibility & contrast

On white

5.97
#A233A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A233A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233A0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233A0#FFFFFF#000000##FFFFFF
##A233A01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA3
Deuteranopia (green-blind)
#50699D
Tritanopia (blue-blind)
#A74265
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a233a0;
/* rgb */ color: rgb(162, 51, 160);
/* oklch */ color: oklch(52.6% 0.192 328.6);
Tailwind
colors: {
  custom: {
    50: '#c174bc',
    500: '#a233a0',
    950: '#000000',
  },
}
SCSS
$custom: #a233a0;
$custom-light: #c174bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a233a0",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 160
  },
  "hsl": {
    "h": 301.081,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.19169,
    "h": 328.6
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#A233A0
secondary
#73BE74
accent
#DC4F4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A233A0

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

Preview Lab → · Contrast checker → · Palette generator →

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