#A62FD3#A62FD3

#A62FD3 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.1% C 0.240 H 314.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A62FD3
RGBrgb(166, 47, 211)
HSLhsl(284, 65%, 51%)
HSVhsv(284, 78%, 83%)
CMYKcmyk(21.3%, 77.7%, 0%, 17.3%)
CIE-LABlab(45.42, 69.91, -60.74)
CIE-LCHlch(45.42, 92.61, 319.02°)
OKLaboklab(56.09% 0.1683 -0.1716)
OKLCHoklch(56.09% 0.24 314.4)
XYZxyz(28.4983, 14.8442, 62.9794)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FD3 #5CD32F
analogous
#542FD3 #A62FD3 #D32FAE
triadic
#A62FD3 #D3A62F #2FD3A6
tetradic
#A62FD3 #D3542F #5CD32F #2FAED3
square
#A62FD3 #D3542F #5CD32F #2FAED3
split-complementary
#A62FD3 #AED32F #2FD354
monochromatic
#581870 #7F22A2 #A62FD3 #BC62DE #D194E8

Accessibility & contrast

On white

5.29
#A62FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A62FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62FD3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FD3#FFFFFF#000000##FFFFFF
##A62FD31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#226ED0
Tritanopia (blue-blind)
#A25681
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a62fd3;
/* rgb */ color: rgb(166, 47, 211);
/* oklch */ color: oklch(56.1% 0.240 314.4);
Tailwind
colors: {
  custom: {
    50: '#c575e1',
    500: '#a62fd3',
    950: '#000000',
  },
}
SCSS
$custom: #a62fd3;
$custom-light: #c575e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fd3",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 283.537,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.24034,
    "h": 314.4
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#A62FD3
secondary
#9ED38A
accent
#E8406E
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #A62FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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