#A62FB2#A62FB2

#A62FB2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.213 H 323.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A62FB2
RGBrgb(166, 47, 178)
HSLhsl(295, 58%, 44%)
HSVhsv(295, 74%, 70%)
CMYKcmyk(6.7%, 73.6%, 0%, 30.2%)
CIE-LABlab(43.29, 63.83, -44.94)
CIE-LCHlch(43.29, 78.06, 324.85°)
OKLaboklab(53.91% 0.1721 -0.1253)
OKLCHoklch(53.91% 0.213 323.9)
XYZxyz(24.7776, 13.3559, 43.3837)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FB2 #3BB22F
analogous
#652FB2 #A62FB2 #B22F7D
triadic
#A62FB2 #B2A62F #2FB2A6
tetradic
#A62FB2 #B2652F #3BB22F #2F7DB2
square
#A62FB2 #B2652F #3BB22F #2F7DB2
split-complementary
#A62FB2 #7DB22F #2FB265
monochromatic
#4C1551 #792282 #A62FB2 #C44ED0 #D47EDD

Accessibility & contrast

On white

5.72
#A62FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A62FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62FB2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FB2#FFFFFF#000000##FFFFFF
##A62FB21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#A9476E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a62fb2;
/* rgb */ color: rgb(166, 47, 178);
/* oklch */ color: oklch(53.9% 0.213 323.9);
Tailwind
colors: {
  custom: {
    50: '#c474ca',
    500: '#a62fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a62fb2;
$custom-light: #c474ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fb2",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 294.504,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53908,
    "c": 0.21285,
    "h": 323.9
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#A62FB2
secondary
#7EC677
accent
#E14655
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A62FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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