#A26BB7#A26BB7

#A26BB7 is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.5% C 0.126 H 316.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A26BB7
RGBrgb(162, 107, 183)
HSLhsl(283, 35%, 57%)
HSVhsv(283, 42%, 72%)
CMYKcmyk(11.5%, 41.5%, 0%, 28.2%)
CIE-LABlab(53.62, 35.38, -31.60)
CIE-LCHlch(53.62, 47.44, 318.23°)
OKLaboklab(61.45% 0.091 -0.0872)
OKLCHoklch(61.45% 0.126 316.2)
XYZxyz(28.7040, 21.6164, 47.4509)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26BB7 #80B76B
analogous
#7C6BB7 #A26BB7 #B76BA6
triadic
#A26BB7 #B7A26B #6BB7A2
tetradic
#A26BB7 #B77C6B #80B76B #6BA6B7
square
#A26BB7 #B77C6B #80B76B #6BA6B7
split-complementary
#A26BB7 #A6B76B #6BB77C
monochromatic
#613771 #844B9A #A26BB7 #BC94CB #D6BDDF

Accessibility & contrast

On white

3.94
#A26BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A26BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26BB7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26BB7#FFFFFF#000000##000000
##A26BB71.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBA
Deuteranopia (green-blind)
#6C82B5
Tritanopia (blue-blind)
#A17588
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a26bb7;
/* rgb */ color: rgb(162, 107, 183);
/* oklch */ color: oklch(61.5% 0.126 316.2);
Tailwind
colors: {
  custom: {
    50: '#bf96cd',
    500: '#a26bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a26bb7;
$custom-light: #bf96cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a26bb7",
  "rgb": {
    "r": 162,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 283.421,
    "s": 34.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61451,
    "c": 0.12604,
    "h": 316.2
  },
  "luminance": 0.21616
}

Semantic roles & 50–950 ramp

primary
#A26BB7
secondary
#B8CEAF
accent
#CB5D7B
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120D13
muted
#817E82

Preview Lab

Preview with #A26BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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