#B057BC#B057BC

#B057BC is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.3% C 0.172 H 322.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B057BC
RGBrgb(176, 87, 188)
HSLhsl(293, 43%, 54%)
HSVhsv(293, 54%, 74%)
CMYKcmyk(6.4%, 53.7%, 0%, 26.3%)
CIE-LABlab(51.47, 51.07, -37.73)
CIE-LCHlch(51.47, 63.49, 323.55°)
OKLaboklab(60.31% 0.1373 -0.1044)
OKLCHoklch(60.31% 0.172 322.7)
XYZxyz(30.3889, 19.6788, 49.7649)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057BC #63BC57
analogous
#7E57BC #B057BC #BC5796
triadic
#B057BC #BCB057 #57BCB0
tetradic
#B057BC #BC7E57 #63BC57 #5796BC
square
#B057BC #BC7E57 #63BC57 #5796BC
split-complementary
#B057BC #96BC57 #57BC7E
monochromatic
#652C6D #8E3D99 #B057BC #C583CD #D9AFDF

Accessibility & contrast

On white

4.25
#B057BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B057BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057BC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057BC#FFFFFF#000000##000000
##B057BC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774BF
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#B26581
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b057bc;
/* rgb */ color: rgb(176, 87, 188);
/* oklch */ color: oklch(60.3% 0.172 322.7);
Tailwind
colors: {
  custom: {
    50: '#ca8ad0',
    500: '#b057bc',
    950: '#000000',
  },
}
SCSS
$custom: #b057bc;
$custom-light: #ca8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b057bc",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 292.871,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60305,
    "c": 0.17245,
    "h": 322.7
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

primary
#B057BC
secondary
#A7CDA2
accent
#D35564
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #B057BC

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

Preview Lab → · Contrast checker → · Palette generator →

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