#B657BA#B657BA

#B657BA is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.0% C 0.174 H 325.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B657BA
RGBrgb(182, 87, 186)
HSLhsl(298, 42%, 54%)
HSVhsv(298, 53%, 73%)
CMYKcmyk(2.2%, 53.2%, 0%, 27.1%)
CIE-LABlab(52.18, 52.34, -35.39)
CIE-LCHlch(52.18, 63.19, 325.93°)
OKLaboklab(60.97% 0.144 -0.0975)
OKLCHoklch(60.97% 0.174 325.9)
XYZxyz(31.5619, 20.3084, 48.7023)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B657BA #5BBA57
analogous
#8457BA #B657BA #BA578C
triadic
#B657BA #BAB657 #57BAB6
tetradic
#B657BA #BA8457 #5BBA57 #578CBA
square
#B657BA #BA8457 #5BBA57 #578CBA
split-complementary
#B657BA #8CBA57 #57BA84
monochromatic
#682C6B #933E96 #B657BA #C982CC #DCAEDE

Accessibility & contrast

On white

4.15
#B657BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B657BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B657BA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B657BA#FFFFFF#000000##000000
##B657BA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#6981B7
Tritanopia (blue-blind)
#BA6380
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b657ba;
/* rgb */ color: rgb(182, 87, 186);
/* oklch */ color: oklch(61.0% 0.174 325.9);
Tailwind
colors: {
  custom: {
    50: '#ce8bcf',
    500: '#b657ba',
    950: '#000000',
  },
}
SCSS
$custom: #b657ba;
$custom-light: #ce8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b657ba",
  "rgb": {
    "r": 182,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 297.576,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.17394,
    "h": 325.9
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#B657BA
secondary
#A3CCA1
accent
#D2565B
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B657BA

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

Preview Lab → · Contrast checker → · Palette generator →

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