#A630A2#A630A2

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

Color values

HEX#A630A2
RGBrgb(166, 48, 162)
HSLhsl(302, 55%, 42%)
HSVhsv(302, 71%, 65%)
CMYKcmyk(0%, 71.1%, 2.4%, 34.9%)
CIE-LABlab(42.51, 60.76, -36.68)
CIE-LCHlch(42.51, 70.97, 328.88°)
OKLaboklab(53.05% 0.1712 -0.1013)
OKLCHoklch(53.05% 0.199 329.4)
XYZxyz(23.3042, 12.8313, 35.4247)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A630A2 #30A634
analogous
#6F30A6 #A630A2 #A63067
triadic
#A630A2 #A2A630 #30A2A6
tetradic
#A630A2 #A66F30 #30A634 #3067A6
square
#A630A2 #A66F30 #30A634 #3067A6
split-complementary
#A630A2 #67A630 #30A66F
monochromatic
#471545 #772274 #A630A2 #CA49C6 #D878D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A630A2#FFFFFF#000000##FFFFFF
##A630A21.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)
#215AA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#AC4066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a630a2;
/* rgb */ color: rgb(166, 48, 162);
/* oklch */ color: oklch(53.1% 0.199 329.4);
Tailwind
colors: {
  custom: {
    50: '#c474be',
    500: '#a630a2',
    950: '#000000',
  },
}
SCSS
$custom: #a630a2;
$custom-light: #c474be;
$custom-dark: #000000;
JSON
{
  "hex": "#a630a2",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 302.034,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.19896,
    "h": 329.4
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#A630A2
secondary
#71C074
accent
#DE4E49
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A630A2

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

Preview Lab → · Contrast checker → · Palette generator →

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