#B057BF#B057BF

#B057BF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.5% C 0.175 H 321.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B057BF
RGBrgb(176, 87, 191)
HSLhsl(291, 45%, 55%)
HSVhsv(291, 54%, 75%)
CMYKcmyk(7.9%, 54.5%, 0%, 25.1%)
CIE-LABlab(51.62, 51.65, -39.23)
CIE-LCHlch(51.62, 64.85, 322.78°)
OKLaboklab(60.46% 0.1376 -0.1087)
OKLCHoklch(60.46% 0.175 321.7)
XYZxyz(30.7156, 19.8095, 51.4858)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057BF #66BF57
analogous
#7C57BF #B057BF #BF579A
triadic
#B057BF #BFB057 #57BFB0
tetradic
#B057BF #BF7C57 #66BF57 #579ABF
square
#B057BF #BF7C57 #66BF57 #579ABF
split-complementary
#B057BF #9ABF57 #57BF7C
monochromatic
#672B71 #8F3C9D #B057BF #C583D0 #DAB0E1

Accessibility & contrast

On white

4.23
#B057BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B057BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057BF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057BF#FFFFFF#000000##000000
##B057BF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4575C2
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#B26683
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b057bf;
/* rgb */ color: rgb(176, 87, 191);
/* oklch */ color: oklch(60.5% 0.175 321.7);
Tailwind
colors: {
  custom: {
    50: '#ca8ad3',
    500: '#b057bf',
    950: '#000000',
  },
}
SCSS
$custom: #b057bf;
$custom-light: #ca8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b057bf",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 291.346,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60463,
    "c": 0.17535,
    "h": 321.7
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#B057BF
secondary
#A9CFA3
accent
#D55366
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #B057BF

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

Preview Lab → · Contrast checker → · Palette generator →

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