#B057D2#B057D2

#B057D2 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.5% C 0.194 H 315.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B057D2
RGBrgb(176, 87, 210)
HSLhsl(283, 58%, 58%)
HSVhsv(283, 59%, 82%)
CMYKcmyk(16.2%, 58.6%, 0%, 17.6%)
CIE-LABlab(52.62, 55.44, -48.54)
CIE-LCHlch(52.62, 73.69, 318.80°)
OKLaboklab(61.52% 0.1388 -0.1358)
OKLCHoklch(61.52% 0.194 315.6)
XYZxyz(32.9437, 20.7007, 63.2205)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057D2 #79D257
analogous
#7357D2 #B057D2 #D257B6
triadic
#B057D2 #D2B057 #57D2B0
tetradic
#B057D2 #D27357 #79D257 #57B6D2
square
#B057D2 #D27357 #79D257 #57B6D2
split-complementary
#B057D2 #B6D257 #57D273
monochromatic
#6E258A #9432BA #B057D2 #C787DF #DDB8EC

Accessibility & contrast

On white

4.09
#B057D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B057D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057D2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057D2#FFFFFF#000000##000000
##B057D21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3478D6
Deuteranopia (green-blind)
#5780CF
Tritanopia (blue-blind)
#AE6C8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b057d2;
/* rgb */ color: rgb(176, 87, 210);
/* oklch */ color: oklch(61.5% 0.194 315.6);
Tailwind
colors: {
  custom: {
    50: '#ca8be0',
    500: '#b057d2',
    950: '#000000',
  },
}
SCSS
$custom: #b057d2;
$custom-light: #ca8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#b057d2",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 283.415,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.1942,
    "h": 315.6
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#B057D2
secondary
#B7DBAA
accent
#E14771
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B057D2

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

Preview Lab → · Contrast checker → · Palette generator →

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