#A634B2#A634B2

#A634B2 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.207 H 323.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A634B2
RGBrgb(166, 52, 178)
HSLhsl(294, 55%, 45%)
HSVhsv(294, 71%, 70%)
CMYKcmyk(6.7%, 70.8%, 0%, 30.2%)
CIE-LABlab(43.91, 62.06, -43.95)
CIE-LCHlch(43.91, 76.05, 324.70°)
OKLaboklab(54.35% 0.1672 -0.1225)
OKLCHoklch(54.35% 0.207 323.8)
XYZxyz(24.9890, 13.7788, 43.4542)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A634B2 #40B234
analogous
#6734B2 #A634B2 #B2347F
triadic
#A634B2 #B2A634 #34B2A6
tetradic
#A634B2 #B26734 #40B234 #347FB2
square
#A634B2 #B26734 #40B234 #347FB2
split-complementary
#A634B2 #7FB234 #34B267
monochromatic
#4E1853 #7A2683 #A634B2 #C256CE #D385DB

Accessibility & contrast

On white

5.59
#A634B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A634B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A634B2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A634B2#FFFFFF#000000##FFFFFF
##A634B21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB6
Deuteranopia (green-blind)
#4A6CAF
Tritanopia (blue-blind)
#A94A70
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a634b2;
/* rgb */ color: rgb(166, 52, 178);
/* oklch */ color: oklch(54.4% 0.207 323.8);
Tailwind
colors: {
  custom: {
    50: '#c476c9',
    500: '#a634b2',
    950: '#000000',
  },
}
SCSS
$custom: #a634b2;
$custom-light: #c476c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a634b2",
  "rgb": {
    "r": 166,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 294.286,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.20727,
    "h": 323.8
  },
  "luminance": 0.13777
}

Semantic roles & 50–950 ramp

primary
#A634B2
secondary
#84C57D
accent
#DE4A58
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A634B2

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

Preview Lab → · Contrast checker → · Palette generator →

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