#B057C8#B057C8

#B057C8 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.184 H 318.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B057C8
RGBrgb(176, 87, 200)
HSLhsl(287, 51%, 56%)
HSVhsv(287, 57%, 78%)
CMYKcmyk(12%, 56.5%, 0%, 21.6%)
CIE-LABlab(52.08, 53.42, -43.68)
CIE-LCHlch(52.08, 69.00, 320.73°)
OKLaboklab(60.95% 0.1383 -0.1216)
OKLCHoklch(60.95% 0.184 318.7)
XYZxyz(31.7366, 20.2179, 56.8631)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057C8 #6FC857
analogous
#7857C8 #B057C8 #C857A8
triadic
#B057C8 #C8B057 #57C8B0
tetradic
#B057C8 #C87857 #6FC857 #57A8C8
square
#B057C8 #C87857 #6FC857 #57A8C8
split-complementary
#B057C8 #A8C857 #57C878
monochromatic
#6A297C #9238AA #B057C8 #C685D7 #DBB3E6

Accessibility & contrast

On white

4.16
#B057C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B057C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057C8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057C8#FFFFFF#000000##000000
##B057C81.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CC
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#B06987
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b057c8;
/* rgb */ color: rgb(176, 87, 200);
/* oklch */ color: oklch(61.0% 0.184 318.7);
Tailwind
colors: {
  custom: {
    50: '#ca8bd9',
    500: '#b057c8',
    950: '#000000',
  },
}
SCSS
$custom: #b057c8;
$custom-light: #ca8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b057c8",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 287.257,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60951,
    "c": 0.1842,
    "h": 318.7
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#B057C8
secondary
#B0D5A6
accent
#DA4E6B
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B057C8

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

Preview Lab → · Contrast checker → · Palette generator →

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