#B057CC#B057CC

#B057CC is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.2% C 0.188 H 317.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B057CC
RGBrgb(176, 87, 204)
HSLhsl(286, 53%, 57%)
HSVhsv(286, 57%, 80%)
CMYKcmyk(13.7%, 57.4%, 0%, 20%)
CIE-LABlab(52.29, 54.22, -45.63)
CIE-LCHlch(52.29, 70.87, 319.92°)
OKLaboklab(61.18% 0.1386 -0.1273)
OKLCHoklch(61.18% 0.188 317.4)
XYZxyz(32.2102, 20.4073, 59.3573)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057CC #73CC57
analogous
#7657CC #B057CC #CC57AE
triadic
#B057CC #CCB057 #57CCB0
tetradic
#B057CC #CC7657 #73CC57 #57AECC
square
#B057CC #CC7657 #73CC57 #57AECC
split-complementary
#B057CC #AECC57 #57CC76
monochromatic
#6C2781 #9336B0 #B057CC #C686DA #DCB5E9

Accessibility & contrast

On white

4.13
#B057CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B057CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057CC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057CC#FFFFFF#000000##000000
##B057CC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#AF6A89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b057cc;
/* rgb */ color: rgb(176, 87, 204);
/* oklch */ color: oklch(61.2% 0.188 317.4);
Tailwind
colors: {
  custom: {
    50: '#ca8bdc',
    500: '#b057cc',
    950: '#000000',
  },
}
SCSS
$custom: #b057cc;
$custom-light: #ca8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b057cc",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 285.641,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.18818,
    "h": 317.4
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#B057CC
secondary
#B3D7A8
accent
#DD4B6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B057CC

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

Preview Lab → · Contrast checker → · Palette generator →

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