#A62FB7#A62FB7

#A62FB7 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.217 H 322.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A62FB7
RGBrgb(166, 47, 183)
HSLhsl(293, 59%, 45%)
HSVhsv(293, 74%, 72%)
CMYKcmyk(9.3%, 74.3%, 0%, 28.2%)
CIE-LABlab(43.60, 64.71, -47.40)
CIE-LCHlch(43.60, 80.21, 323.78°)
OKLaboklab(54.22% 0.1718 -0.1325)
OKLCHoklch(54.22% 0.217 322.3)
XYZxyz(25.2888, 13.5604, 46.0760)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FB7 #40B72F
analogous
#622FB7 #A62FB7 #B72F84
triadic
#A62FB7 #B7A62F #2FB7A6
tetradic
#A62FB7 #B7622F #40B72F #2F84B7
square
#A62FB7 #B7622F #40B72F #2F84B7
split-complementary
#A62FB7 #84B72F #2FB762
monochromatic
#4E1656 #7A2286 #A62FB7 #C251D2 #D382DF

Accessibility & contrast

On white

5.66
#A62FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A62FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62FB7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FB7#FFFFFF#000000##FFFFFF
##A62FB71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#436BB4
Tritanopia (blue-blind)
#A84971
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a62fb7;
/* rgb */ color: rgb(166, 47, 183);
/* oklch */ color: oklch(54.2% 0.217 322.3);
Tailwind
colors: {
  custom: {
    50: '#c474cd',
    500: '#a62fb7',
    950: '#000000',
  },
}
SCSS
$custom: #a62fb7;
$custom-light: #c474cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fb7",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 292.5,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.21693,
    "h": 322.3
  },
  "luminance": 0.13559
}

Semantic roles & 50–950 ramp

primary
#A62FB7
secondary
#84C87A
accent
#E24559
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A62FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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