#A62FB8#A62FB8

#A62FB8 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.218 H 322.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A62FB8
RGBrgb(166, 47, 184)
HSLhsl(292, 59%, 45%)
HSVhsv(292, 74%, 72%)
CMYKcmyk(9.8%, 74.5%, 0%, 27.8%)
CIE-LABlab(43.66, 64.89, -47.89)
CIE-LCHlch(43.66, 80.65, 323.57°)
OKLaboklab(54.28% 0.1717 -0.1339)
OKLCHoklch(54.28% 0.218 322)
XYZxyz(25.3932, 13.6022, 46.6261)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FB8 #41B82F
analogous
#622FB8 #A62FB8 #B82F85
triadic
#A62FB8 #B8A62F #2FB8A6
tetradic
#A62FB8 #B8622F #41B82F #2F85B8
square
#A62FB8 #B8622F #41B82F #2F85B8
split-complementary
#A62FB8 #85B82F #2FB862
monochromatic
#4E1657 #7A2387 #A62FB8 #C252D3 #D382DF

Accessibility & contrast

On white

5.64
#A62FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A62FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62FB8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FB8#FFFFFF#000000##FFFFFF
##A62FB81.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#426CB5
Tritanopia (blue-blind)
#A84972
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a62fb8;
/* rgb */ color: rgb(166, 47, 184);
/* oklch */ color: oklch(54.3% 0.218 322.0);
Tailwind
colors: {
  custom: {
    50: '#c474ce',
    500: '#a62fb8',
    950: '#000000',
  },
}
SCSS
$custom: #a62fb8;
$custom-light: #c474ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fb8",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 292.117,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.21775,
    "h": 322
  },
  "luminance": 0.13601
}

Semantic roles & 50–950 ramp

primary
#A62FB8
secondary
#85C87B
accent
#E2455A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A62FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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