#A262A2#A262A2

#A262A2 is a mid, moderate purple. Relative luminance 0.190; OKLCH L 59.0% C 0.119 H 327.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A262A2
RGBrgb(162, 98, 162)
HSLhsl(300, 26%, 51%)
HSVhsv(300, 40%, 64%)
CMYKcmyk(0%, 39.5%, 0%, 36.5%)
CIE-LABlab(50.72, 36.12, -23.89)
CIE-LCHlch(50.72, 43.30, 326.52°)
OKLaboklab(58.98% 0.1001 -0.0651)
OKLCHoklch(58.98% 0.119 327)
XYZxyz(25.7890, 19.0265, 36.4895)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262A2 #62A262
analogous
#8262A2 #A262A2 #A26282
triadic
#A262A2 #A2A262 #62A2A2
tetradic
#A262A2 #A28262 #62A262 #6282A2
square
#A262A2 #A28262 #62A262 #6282A2
split-complementary
#A262A2 #82A262 #62A282
monochromatic
#563356 #7D4A7D #A262A2 #B988B9 #D0AFD0

Accessibility & contrast

On white

4.37
#A262A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A262A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262A2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262A2#FFFFFF#000000##000000
##A262A21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#A6687A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a262a2;
/* rgb */ color: rgb(162, 98, 162);
/* oklch */ color: oklch(59.0% 0.119 327.0);
Tailwind
colors: {
  custom: {
    50: '#bf90bd',
    500: '#a262a2',
    950: '#000000',
  },
}
SCSS
$custom: #a262a2;
$custom-light: #bf90bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a262a2",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.11941,
    "h": 327
  },
  "luminance": 0.19025
}

Semantic roles & 50–950 ramp

primary
#A262A2
secondary
#A2BEA2
accent
#C26666
background
#FBF8FB
surface
#F7F0F6
border
#D0CBD0
text
#120D12
muted
#817D81

Preview Lab

Preview with #A262A2

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

Preview Lab → · Contrast checker → · Palette generator →

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