#A261B2#A261B2

#A261B2 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.6% C 0.138 H 319.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A261B2
RGBrgb(162, 97, 178)
HSLhsl(288, 34%, 54%)
HSVhsv(288, 46%, 70%)
CMYKcmyk(9%, 45.5%, 0%, 30.2%)
CIE-LABlab(51.21, 39.86, -32.47)
CIE-LCHlch(51.21, 51.41, 320.83°)
OKLaboklab(59.57% 0.1049 -0.0896)
OKLCHoklch(59.57% 0.138 319.5)
XYZxyz(27.2098, 19.4461, 44.4310)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261B2 #71B261
analogous
#7A61B2 #A261B2 #B2619A
triadic
#A261B2 #B2A261 #61B2A2
tetradic
#A261B2 #B27A61 #71B261 #619AB2
square
#A261B2 #B27A61 #71B261 #619AB2
split-complementary
#A261B2 #9AB261 #61B27A
monochromatic
#5C3267 #814690 #A261B2 #BA8AC6 #D2B3DA

Accessibility & contrast

On white

4.30
#A261B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A261B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261B2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261B2#FFFFFF#000000##000000
##A261B21.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B5
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#A36C81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a261b2;
/* rgb */ color: rgb(162, 97, 178);
/* oklch */ color: oklch(59.6% 0.138 319.5);
Tailwind
colors: {
  custom: {
    50: '#bf90c9',
    500: '#a261b2',
    950: '#000000',
  },
}
SCSS
$custom: #a261b2;
$custom-light: #bf90c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a261b2",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 288.148,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5957,
    "c": 0.13798,
    "h": 319.5
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#A261B2
secondary
#ADC9A6
accent
#CB5D73
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120D13
muted
#817D82

Preview Lab

Preview with #A261B2

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

Preview Lab → · Contrast checker → · Palette generator →

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