#B057D8#B057D8

#B057D8 is a mid, highly saturated purple. Relative luminance 0.210; OKLCH L 61.9% C 0.200 H 313.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B057D8
RGBrgb(176, 87, 216)
HSLhsl(281, 62%, 59%)
HSVhsv(281, 60%, 85%)
CMYKcmyk(18.5%, 59.7%, 0%, 15.3%)
CIE-LABlab(52.96, 56.69, -51.42)
CIE-LCHlch(52.96, 76.53, 317.79°)
OKLaboklab(61.87% 0.1389 -0.1442)
OKLCHoklch(61.87% 0.2 313.9)
XYZxyz(33.7053, 21.0054, 67.2314)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057D8 #7FD857
analogous
#6F57D8 #B057D8 #D857C0
triadic
#B057D8 #D8B057 #57D8B0
tetradic
#B057D8 #D86F57 #7FD857 #57C0D8
square
#B057D8 #D86F57 #7FD857 #57C0D8
split-complementary
#B057D8 #C0D857 #57D86F
monochromatic
#702293 #962EC4 #B057D8 #C789E4 #DFBAEF

Accessibility & contrast

On white

4.04
#B057D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B057D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057D8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057D8#FFFFFF#000000##000000
##B057D81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D79DC
Deuteranopia (green-blind)
#5281D5
Tritanopia (blue-blind)
#AC6E8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b057d8;
/* rgb */ color: rgb(176, 87, 216);
/* oklch */ color: oklch(61.9% 0.200 313.9);
Tailwind
colors: {
  custom: {
    50: '#cb8be5',
    500: '#b057d8',
    950: '#000000',
  },
}
SCSS
$custom: #b057d8;
$custom-light: #cb8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#b057d8",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 281.395,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6187,
    "c": 0.20026,
    "h": 313.9
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#B057D8
secondary
#BCDFAC
accent
#E54275
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B057D8

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

Preview Lab → · Contrast checker → · Palette generator →

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