#A62895#A62895

#A62895 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.198 H 334.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A62895
RGBrgb(166, 40, 149)
HSLhsl(308, 61%, 40%)
HSVhsv(308, 76%, 65%)
CMYKcmyk(0%, 75.9%, 10.2%, 34.9%)
CIE-LABlab(40.89, 61.36, -31.40)
CIE-LCHlch(40.89, 68.92, 332.90°)
OKLaboklab(51.67% 0.1784 -0.086)
OKLCHoklch(51.67% 0.198 334.3)
XYZxyz(21.9097, 11.7964, 29.5510)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62895 #28A639
analogous
#7828A6 #A62895 #A62856
triadic
#A62895 #95A628 #2895A6
tetradic
#A62895 #A67828 #28A639 #2856A6
square
#A62895 #A67828 #28A639 #2856A6
split-complementary
#A62895 #56A628 #28A678
monochromatic
#43103C #751C69 #A62895 #D03BBC #DC6DCD

Accessibility & contrast

On white

6.25
#A62895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A62895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62895
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62895#FFFFFF#000000##FFFFFF
##A628951.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255598
Deuteranopia (green-blind)
#556792
Tritanopia (blue-blind)
#AE345C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62895;
/* rgb */ color: rgb(166, 40, 149);
/* oklch */ color: oklch(51.7% 0.198 334.3);
Tailwind
colors: {
  custom: {
    50: '#c470b4',
    500: '#a62895',
    950: '#000000',
  },
}
SCSS
$custom: #a62895;
$custom-light: #c470b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a62895",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 308.095,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51668,
    "c": 0.198,
    "h": 334.3
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#A62895
secondary
#67C274
accent
#E45944
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62895

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

Preview Lab → · Contrast checker → · Palette generator →

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