#B646BA#B646BA

#B646BA is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.9% C 0.199 H 326.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B646BA
RGBrgb(182, 70, 186)
HSLhsl(298, 46%, 50%)
HSVhsv(298, 62%, 73%)
CMYKcmyk(2.2%, 62.4%, 0%, 27.1%)
CIE-LABlab(49.34, 60.09, -39.87)
CIE-LCHlch(49.34, 72.11, 326.43°)
OKLaboklab(58.89% 0.1657 -0.1103)
OKLCHoklch(58.89% 0.199 326.3)
XYZxyz(30.3439, 17.8725, 48.2963)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B646BA #4ABA46
analogous
#7C46BA #B646BA #BA4684
triadic
#B646BA #BAB646 #46BAB6
tetradic
#B646BA #BA7C46 #4ABA46 #4684BA
square
#B646BA #BA7C46 #4ABA46 #4684BA
split-complementary
#B646BA #84BA46 #46BA7C
monochromatic
#5F2461 #8B358E #B646BA #C873CB #D99FDB

Accessibility & contrast

On white

4.59
#B646BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B646BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B646BA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B646BA#FFFFFF#000000##FFFFFF
##B646BA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBD
Deuteranopia (green-blind)
#5E7AB7
Tritanopia (blue-blind)
#BB567A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b646ba;
/* rgb */ color: rgb(182, 70, 186);
/* oklch */ color: oklch(58.9% 0.199 326.3);
Tailwind
colors: {
  custom: {
    50: '#cf81cf',
    500: '#b646ba',
    950: '#000000',
  },
}
SCSS
$custom: #b646ba;
$custom-light: #cf81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b646ba",
  "rgb": {
    "r": 182,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 297.931,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58889,
    "c": 0.19905,
    "h": 326.3
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#B646BA
secondary
#96C894
accent
#D55257
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B646BA

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

Preview Lab → · Contrast checker → · Palette generator →

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