#B26DA7#B26DA7

#B26DA7 is a light, moderate purple. Relative luminance 0.232; OKLCH L 62.9% C 0.116 H 332.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B26DA7
RGBrgb(178, 109, 167)
HSLhsl(310, 31%, 56%)
HSVhsv(310, 39%, 70%)
CMYKcmyk(0%, 38.8%, 6.2%, 30.2%)
CIE-LABlab(55.27, 36.24, -19.65)
CIE-LCHlch(55.27, 41.22, 331.54°)
OKLaboklab(62.89% 0.1033 -0.053)
OKLCHoklch(62.89% 0.116 332.8)
XYZxyz(30.8035, 23.1938, 39.4061)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DA7 #6DB278
analogous
#9B6DB2 #B26DA7 #B26D85
triadic
#B26DA7 #A7B26D #6DA7B2
tetradic
#B26DA7 #B29B6D #6DB278 #6D85B2
square
#B26DA7 #B29B6D #6DB278 #6D85B2
split-complementary
#B26DA7 #85B26D #6DB29B
monochromatic
#6C3964 #944E89 #B26DA7 #C795BF #DCBDD7

Accessibility & contrast

On white

3.72
#B26DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B26DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DA7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DA7#FFFFFF#000000##000000
##B26DA71.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA9
Deuteranopia (green-blind)
#7E88A5
Tritanopia (blue-blind)
#B87183
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b26da7;
/* rgb */ color: rgb(178, 109, 167);
/* oklch */ color: oklch(62.9% 0.116 332.8);
Tailwind
colors: {
  custom: {
    50: '#ca98c1',
    500: '#b26da7',
    950: '#000000',
  },
}
SCSS
$custom: #b26da7;
$custom-light: #ca98c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b26da7",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 167
  },
  "hsl": {
    "h": 309.565,
    "s": 30.942,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62891,
    "c": 0.1161,
    "h": 332.8
  },
  "luminance": 0.23192
}

Semantic roles & 50–950 ramp

primary
#B26DA7
secondary
#AFCCB4
accent
#C77161
background
#FCF9FB
surface
#F8F2F7
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #B26DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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