#B26FAC#B26FAC

#B26FAC is a light, moderate purple. Relative luminance 0.238; OKLCH L 63.4% C 0.117 H 330.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B26FAC
RGBrgb(178, 111, 172)
HSLhsl(305, 30%, 57%)
HSVhsv(305, 38%, 70%)
CMYKcmyk(0%, 37.6%, 3.4%, 30.2%)
CIE-LABlab(55.90, 36.06, -21.57)
CIE-LCHlch(55.90, 42.02, 329.11°)
OKLaboklab(63.43% 0.1015 -0.0584)
OKLCHoklch(63.43% 0.117 330.1)
XYZxyz(31.4905, 23.8139, 41.9595)
Luminance0.2381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FAC #6FB275
analogous
#976FB2 #B26FAC #B26F8B
triadic
#B26FAC #ACB26F #6FACB2
tetradic
#B26FAC #B2976F #6FB275 #6F8BB2
square
#B26FAC #B2976F #6FB275 #6F8BB2
split-complementary
#B26FAC #8BB26F #6FB297
monochromatic
#6D3A68 #944F8E #B26FAC #C797C3 #DDBFDA

Accessibility & contrast

On white

3.64
#B26FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B26FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FAC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FAC#FFFFFF#000000##000000
##B26FAC1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AE
Deuteranopia (green-blind)
#7D89AA
Tritanopia (blue-blind)
#B77486
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b26fac;
/* rgb */ color: rgb(178, 111, 172);
/* oklch */ color: oklch(63.4% 0.117 330.1);
Tailwind
colors: {
  custom: {
    50: '#ca9ac5',
    500: '#b26fac',
    950: '#000000',
  },
}
SCSS
$custom: #b26fac;
$custom-light: #ca9ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#b26fac",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 305.373,
    "s": 30.317,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63429,
    "c": 0.11713,
    "h": 330.1
  },
  "luminance": 0.23812
}

Semantic roles & 50–950 ramp

primary
#B26FAC
secondary
#B1CCB3
accent
#C76A61
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #B26FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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