#B057C2#B057C2

#B057C2 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.6% C 0.178 H 320.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B057C2
RGBrgb(176, 87, 194)
HSLhsl(290, 47%, 55%)
HSVhsv(290, 55%, 76%)
CMYKcmyk(9.3%, 55.2%, 0%, 23.9%)
CIE-LABlab(51.77, 52.23, -40.72)
CIE-LCHlch(51.77, 66.23, 322.06°)
OKLaboklab(60.62% 0.1379 -0.113)
OKLCHoklch(60.62% 0.178 320.6)
XYZxyz(31.0491, 19.9429, 53.2423)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057C2 #69C257
analogous
#7B57C2 #B057C2 #C2579E
triadic
#B057C2 #C2B057 #57C2B0
tetradic
#B057C2 #C27B57 #69C257 #579EC2
square
#B057C2 #C27B57 #69C257 #579EC2
split-complementary
#B057C2 #9EC257 #57C27B
monochromatic
#682A74 #903BA1 #B057C2 #C584D2 #DAB1E3

Accessibility & contrast

On white

4.21
#B057C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B057C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057C2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057C2#FFFFFF#000000##000000
##B057C21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C5
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#B16784
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b057c2;
/* rgb */ color: rgb(176, 87, 194);
/* oklch */ color: oklch(60.6% 0.178 320.6);
Tailwind
colors: {
  custom: {
    50: '#ca8ad5',
    500: '#b057c2',
    950: '#000000',
  },
}
SCSS
$custom: #b057c2;
$custom-light: #ca8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#b057c2",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 289.907,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60623,
    "c": 0.17828,
    "h": 320.6
  },
  "luminance": 0.19942
}

Semantic roles & 50–950 ramp

primary
#B057C2
secondary
#ACD1A4
accent
#D65168
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B057C2

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

Preview Lab → · Contrast checker → · Palette generator →

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