#B057D7#B057D7

#B057D7 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.8% C 0.199 H 314.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B057D7
RGBrgb(176, 87, 215)
HSLhsl(282, 62%, 59%)
HSVhsv(282, 60%, 84%)
CMYKcmyk(18.1%, 59.5%, 0%, 15.7%)
CIE-LABlab(52.90, 56.48, -50.94)
CIE-LCHlch(52.90, 76.06, 317.95°)
OKLaboklab(61.81% 0.1389 -0.1428)
OKLCHoklch(61.81% 0.199 314.2)
XYZxyz(33.5764, 20.9538, 66.5526)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057D7 #7ED757
analogous
#7057D7 #B057D7 #D757BE
triadic
#B057D7 #D7B057 #57D7B0
tetradic
#B057D7 #D77057 #7ED757 #57BED7
square
#B057D7 #D77057 #7ED757 #57BED7
split-complementary
#B057D7 #BED757 #57D770
monochromatic
#6F2391 #952EC2 #B057D7 #C788E3 #DEBAEF

Accessibility & contrast

On white

4.05
#B057D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B057D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057D7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057D7#FFFFFF#000000##000000
##B057D71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E79DB
Deuteranopia (green-blind)
#5381D4
Tritanopia (blue-blind)
#AD6E8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b057d7;
/* rgb */ color: rgb(176, 87, 215);
/* oklch */ color: oklch(61.8% 0.199 314.2);
Tailwind
colors: {
  custom: {
    50: '#cb8be4',
    500: '#b057d7',
    950: '#000000',
  },
}
SCSS
$custom: #b057d7;
$custom-light: #cb8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#b057d7",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 281.719,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61811,
    "c": 0.19925,
    "h": 314.2
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#B057D7
secondary
#BBDEAC
accent
#E54374
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #B057D7

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

Preview Lab → · Contrast checker → · Palette generator →

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