#B261AC#B261AC

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

Color values

HEX#B261AC
RGBrgb(178, 97, 172)
HSLhsl(304, 34%, 54%)
HSVhsv(304, 46%, 70%)
CMYKcmyk(0%, 45.5%, 3.4%, 30.2%)
CIE-LABlab(52.94, 43.57, -26.13)
CIE-LCHlch(52.94, 50.80, 329.05°)
OKLaboklab(61.21% 0.1228 -0.0712)
OKLCHoklch(61.21% 0.142 329.9)
XYZxyz(30.0808, 20.9946, 41.4896)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261AC #61B267
analogous
#9061B2 #B261AC #B26184
triadic
#B261AC #ACB261 #61ACB2
tetradic
#B261AC #B29061 #61B267 #6184B2
square
#B261AC #B29061 #61B267 #6184B2
split-complementary
#B261AC #84B261 #61B290
monochromatic
#673263 #90468A #B261AC #C68AC2 #DAB3D7

Accessibility & contrast

On white

4.04
#B261AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B261AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261AC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261AC#FFFFFF#000000##000000
##B261AC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AF
Deuteranopia (green-blind)
#7382AA
Tritanopia (blue-blind)
#B7687E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b261ac;
/* rgb */ color: rgb(178, 97, 172);
/* oklch */ color: oklch(61.2% 0.142 329.9);
Tailwind
colors: {
  custom: {
    50: '#cb90c5',
    500: '#b261ac',
    950: '#000000',
  },
}
SCSS
$custom: #b261ac;
$custom-light: #cb90c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b261ac",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 172
  },
  "hsl": {
    "h": 304.444,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61211,
    "c": 0.14193,
    "h": 329.9
  },
  "luminance": 0.20993
}

Semantic roles & 50–950 ramp

primary
#B261AC
secondary
#A6C9A9
accent
#CB655D
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B261AC

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

Preview Lab → · Contrast checker → · Palette generator →

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