#A334BB#A334BB

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

Color values

HEX#A334BB
RGBrgb(163, 52, 187)
HSLhsl(289, 56%, 47%)
HSVhsv(289, 72%, 73%)
CMYKcmyk(12.8%, 72.2%, 0%, 26.7%)
CIE-LABlab(43.99, 63.06, -49.14)
CIE-LCHlch(43.99, 79.95, 322.07°)
OKLaboklab(54.49% 0.1633 -0.1377)
OKLCHoklch(54.49% 0.214 319.9)
XYZxyz(25.3008, 13.8316, 48.3412)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334BB #4CBB34
analogous
#5F34BB #A334BB #BB3490
triadic
#A334BB #BBA334 #34BBA3
tetradic
#A334BB #BB5F34 #4CBB34 #3490BB
square
#A334BB #BB5F34 #4CBB34 #3490BB
split-complementary
#A334BB #90BB34 #34BB5F
monochromatic
#50195B #79278B #A334BB #BC5BD1 #D08BDF

Accessibility & contrast

On white

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

On black

3.77
#A334BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A334BB#FFFFFF#000000##FFFFFF
##A334BB1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#A34E75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a334bb;
/* rgb */ color: rgb(163, 52, 187);
/* oklch */ color: oklch(54.5% 0.214 319.9);
Tailwind
colors: {
  custom: {
    50: '#c276d0',
    500: '#a334bb',
    950: '#000000',
  },
}
SCSS
$custom: #a334bb;
$custom-light: #c276d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a334bb",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 289.333,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.2136,
    "h": 319.9
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#A334BB
secondary
#8FC982
accent
#E04863
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A334BB

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

Preview Lab → · Contrast checker → · Palette generator →

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