#B826BD#B826BD

#B826BD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.237 H 326.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B826BD
RGBrgb(184, 38, 189)
HSLhsl(298, 67%, 45%)
HSVhsv(298, 80%, 74%)
CMYKcmyk(2.6%, 79.9%, 0%, 25.9%)
CIE-LABlab(45.98, 71.94, -46.94)
CIE-LCHlch(45.98, 85.90, 326.87°)
OKLaboklab(56.59% 0.1984 -0.1306)
OKLCHoklch(56.59% 0.237 326.6)
XYZxyz(29.6451, 15.2528, 49.5169)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B826BD #2BBD26
analogous
#6C26BD #B826BD #BD2677
triadic
#B826BD #BDB826 #26BDB8
tetradic
#B826BD #BD6C26 #2BBD26 #2677BD
square
#B826BD #BD6C26 #2BBD26 #2677BD
split-complementary
#B826BD #77BD26 #26BD6C
monochromatic
#551257 #861C8A #B826BD #D546DA #E179E4

Accessibility & contrast

On white

5.18
#B826BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B826BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B826BD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B826BD#FFFFFF#000000##FFFFFF
##B826BD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#BD4373
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b826bd;
/* rgb */ color: rgb(184, 38, 189);
/* oklch */ color: oklch(56.6% 0.237 326.6);
Tailwind
colors: {
  custom: {
    50: '#d273d1',
    500: '#b826bd',
    950: '#000000',
  },
}
SCSS
$custom: #b826bd;
$custom-light: #d273d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b826bd",
  "rgb": {
    "r": 184,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 298.013,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56593,
    "c": 0.23749,
    "h": 326.6
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#B826BD
secondary
#76CC73
accent
#E93E44
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B826BD

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

Preview Lab → · Contrast checker → · Palette generator →

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