#A233A7#A233A7

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

Color values

HEX#A233A7
RGBrgb(162, 51, 167)
HSLhsl(297, 53%, 43%)
HSVhsv(297, 69%, 65%)
CMYKcmyk(3%, 69.5%, 0%, 34.5%)
CIE-LABlab(42.52, 59.59, -39.68)
CIE-LCHlch(42.52, 71.60, 326.34°)
OKLaboklab(53.03% 0.1638 -0.1101)
OKLCHoklch(53.03% 0.197 326.1)
XYZxyz(23.0587, 12.8406, 37.8157)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233A7 #38A733
analogous
#6833A7 #A233A7 #A73372
triadic
#A233A7 #A7A233 #33A7A2
tetradic
#A233A7 #A76833 #38A733 #3372A7
square
#A233A7 #A76833 #38A733 #3372A7
split-complementary
#A233A7 #72A733 #33A768
monochromatic
#471649 #752578 #A233A7 #C44EC9 #D37DD7

Accessibility & contrast

On white

5.89
#A233A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A233A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233A7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233A7#FFFFFF#000000##FFFFFF
##A233A71.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a233a7;
/* rgb */ color: rgb(162, 51, 167);
/* oklch */ color: oklch(53.0% 0.197 326.1);
Tailwind
colors: {
  custom: {
    50: '#c175c1',
    500: '#a233a7',
    950: '#000000',
  },
}
SCSS
$custom: #a233a7;
$custom-light: #c175c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a233a7",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 297.414,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.19741,
    "h": 326.1
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#A233A7
secondary
#79C076
accent
#DD4B51
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A233A7

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

Preview Lab → · Contrast checker → · Palette generator →

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