#B261AB#B261AB

#B261AB is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.2% C 0.141 H 330.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B261AB
RGBrgb(178, 97, 171)
HSLhsl(305, 34%, 54%)
HSVhsv(305, 46%, 70%)
CMYKcmyk(0%, 45.5%, 3.9%, 30.2%)
CIE-LABlab(52.90, 43.39, -25.61)
CIE-LCHlch(52.90, 50.38, 329.45°)
OKLaboklab(61.17% 0.1226 -0.0697)
OKLCHoklch(61.17% 0.141 330.4)
XYZxyz(29.9852, 20.9563, 40.9858)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261AB #61B268
analogous
#9161B2 #B261AB #B26183
triadic
#B261AB #ABB261 #61ABB2
tetradic
#B261AB #B29161 #61B268 #6183B2
square
#B261AB #B29161 #61B268 #6183B2
split-complementary
#B261AB #83B261 #61B291
monochromatic
#673262 #904689 #B261AB #C68AC1 #DAB3D7

Accessibility & contrast

On white

4.05
#B261AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B261AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261AB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261AB#FFFFFF#000000##000000
##B261AB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AE
Deuteranopia (green-blind)
#7482A9
Tritanopia (blue-blind)
#B8677E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b261ab;
/* rgb */ color: rgb(178, 97, 171);
/* oklch */ color: oklch(61.2% 0.141 330.4);
Tailwind
colors: {
  custom: {
    50: '#cb90c4',
    500: '#b261ab',
    950: '#000000',
  },
}
SCSS
$custom: #b261ab;
$custom-light: #cb90c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b261ab",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 171
  },
  "hsl": {
    "h": 305.185,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.14101,
    "h": 330.4
  },
  "luminance": 0.20955
}

Semantic roles & 50–950 ramp

primary
#B261AB
secondary
#A6C9A9
accent
#CB675D
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #B261AB

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

Preview Lab → · Contrast checker → · Palette generator →

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