#A42BAF#A42BAF

#A42BAF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.214 H 324.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A42BAF
RGBrgb(164, 43, 175)
HSLhsl(295, 61%, 43%)
HSVhsv(295, 75%, 69%)
CMYKcmyk(6.3%, 75.4%, 0%, 31.4%)
CIE-LABlab(42.33, 64.20, -44.72)
CIE-LCHlch(42.33, 78.24, 325.14°)
OKLaboklab(53.1% 0.1736 -0.1247)
OKLCHoklch(53.1% 0.214 324.3)
XYZxyz(23.9109, 12.7169, 41.7443)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BAF #36AF2B
analogous
#622BAF #A42BAF #AF2B78
triadic
#A42BAF #AFA42B #2BAFA4
tetradic
#A42BAF #AF622B #36AF2B #2B78AF
square
#A42BAF #AF622B #36AF2B #2B78AF
split-complementary
#A42BAF #78AF2B #2BAF62
monochromatic
#48134D #761F7E #A42BAF #C646D1 #D577DE

Accessibility & contrast

On white

5.93
#A42BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A42BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BAF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BAF#FFFFFF#000000##FFFFFF
##A42BAF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#A7436C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42baf;
/* rgb */ color: rgb(164, 43, 175);
/* oklch */ color: oklch(53.1% 0.214 324.3);
Tailwind
colors: {
  custom: {
    50: '#c372c7',
    500: '#a42baf',
    950: '#000000',
  },
}
SCSS
$custom: #a42baf;
$custom-light: #c372c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42baf",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 295,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53103,
    "c": 0.21372,
    "h": 324.3
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#A42BAF
secondary
#78C570
accent
#E44451
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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