#B057B2#B057B2

#B057B2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.8% C 0.163 H 326.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B057B2
RGBrgb(176, 87, 178)
HSLhsl(299, 37%, 52%)
HSVhsv(299, 51%, 70%)
CMYKcmyk(1.1%, 51.1%, 0%, 30.2%)
CIE-LABlab(50.99, 49.19, -32.67)
CIE-LCHlch(50.99, 59.05, 326.40°)
OKLaboklab(59.8% 0.136 -0.0898)
OKLCHoklch(59.8% 0.163 326.5)
XYZxyz(29.3480, 19.2624, 44.2830)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057B2 #59B257
analogous
#8357B2 #B057B2 #B25787
triadic
#B057B2 #B2B057 #57B2B0
tetradic
#B057B2 #B28357 #59B257 #5787B2
square
#B057B2 #B28357 #59B257 #5787B2
split-complementary
#B057B2 #87B257 #57B283
monochromatic
#612D62 #8A408C #B057B2 #C481C5 #D7ABD8

Accessibility & contrast

On white

4.33
#B057B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B057B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057B2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057B2#FFFFFF#000000##000000
##B057B21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#697DAF
Tritanopia (blue-blind)
#B4617C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b057b2;
/* rgb */ color: rgb(176, 87, 178);
/* oklch */ color: oklch(59.8% 0.163 326.5);
Tailwind
colors: {
  custom: {
    50: '#ca8ac9',
    500: '#b057b2',
    950: '#000000',
  },
}
SCSS
$custom: #b057b2;
$custom-light: #ca8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#b057b2",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 298.681,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59795,
    "c": 0.16296,
    "h": 326.5
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

primary
#B057B2
secondary
#9FC69E
accent
#CD5B5D
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #B057B2

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

Preview Lab → · Contrast checker → · Palette generator →

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