#B057CF#B057CF

#B057CF is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.3% C 0.191 H 316.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B057CF
RGBrgb(176, 87, 207)
HSLhsl(285, 56%, 58%)
HSVhsv(285, 58%, 81%)
CMYKcmyk(15%, 58%, 0%, 18.8%)
CIE-LABlab(52.46, 54.83, -47.09)
CIE-LCHlch(52.46, 72.28, 319.34°)
OKLaboklab(61.35% 0.1387 -0.1316)
OKLCHoklch(61.35% 0.191 316.5)
XYZxyz(32.5735, 20.5526, 61.2706)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057CF #76CF57
analogous
#7457CF #B057CF #CF57B2
triadic
#B057CF #CFB057 #57CFB0
tetradic
#B057CF #CF7457 #76CF57 #57B2CF
square
#B057CF #CF7457 #76CF57 #57B2CF
split-complementary
#B057CF #B2CF57 #57CF74
monochromatic
#6D2685 #9434B5 #B057CF #C687DD #DDB6EA

Accessibility & contrast

On white

4.11
#B057CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B057CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057CF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057CF#FFFFFF#000000##000000
##B057CF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3778D3
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#AF6B8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b057cf;
/* rgb */ color: rgb(176, 87, 207);
/* oklch */ color: oklch(61.3% 0.191 316.5);
Tailwind
colors: {
  custom: {
    50: '#ca8bde',
    500: '#b057cf',
    950: '#000000',
  },
}
SCSS
$custom: #b057cf;
$custom-light: #ca8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#b057cf",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 284.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61345,
    "c": 0.19118,
    "h": 316.5
  },
  "luminance": 0.20551
}

Semantic roles & 50–950 ramp

primary
#B057CF
secondary
#B5D9A9
accent
#DF4970
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B057CF

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

Preview Lab → · Contrast checker → · Palette generator →

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