#A262AA#A262AA

#A262AA is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.3% C 0.128 H 322.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A262AA
RGBrgb(162, 98, 170)
HSLhsl(293, 30%, 53%)
HSVhsv(293, 42%, 67%)
CMYKcmyk(4.7%, 42.4%, 0%, 33.3%)
CIE-LABlab(51.06, 37.69, -28.04)
CIE-LCHlch(51.06, 46.97, 323.35°)
OKLaboklab(59.34% 0.1019 -0.0769)
OKLCHoklch(59.34% 0.128 322.9)
XYZxyz(26.5229, 19.3201, 40.3545)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262AA #6AAA62
analogous
#7E62AA #A262AA #AA628E
triadic
#A262AA #AAA262 #62AAA2
tetradic
#A262AA #AA7E62 #6AAA62 #628EAA
square
#A262AA #AA7E62 #6AAA62 #628EAA
split-complementary
#A262AA #8EAA62 #62AA7E
monochromatic
#5A335E #7F4986 #A262AA #BA8ABF #D1B1D5

Accessibility & contrast

On white

4.32
#A262AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A262AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262AA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262AA#FFFFFF#000000##000000
##A262AA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#6B7CA8
Tritanopia (blue-blind)
#A46A7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a262aa;
/* rgb */ color: rgb(162, 98, 170);
/* oklch */ color: oklch(59.3% 0.128 322.9);
Tailwind
colors: {
  custom: {
    50: '#bf90c3',
    500: '#a262aa',
    950: '#000000',
  },
}
SCSS
$custom: #a262aa;
$custom-light: #bf90c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a262aa",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 293.333,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.12766,
    "h": 322.9
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#A262AA
secondary
#A8C4A4
accent
#C6626D
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120D12
muted
#817D81

Preview Lab

Preview with #A262AA

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

Preview Lab → · Contrast checker → · Palette generator →

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