#B057CA#B057CA

#B057CA is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.186 H 318.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B057CA
RGBrgb(176, 87, 202)
HSLhsl(286, 52%, 57%)
HSVhsv(286, 57%, 79%)
CMYKcmyk(12.9%, 56.9%, 0%, 20.8%)
CIE-LABlab(52.19, 53.82, -44.66)
CIE-LCHlch(52.19, 69.93, 320.32°)
OKLaboklab(61.06% 0.1385 -0.1245)
OKLCHoklch(61.06% 0.186 318)
XYZxyz(31.9719, 20.3120, 58.1021)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057CA #71CA57
analogous
#7757CA #B057CA #CA57AB
triadic
#B057CA #CAB057 #57CAB0
tetradic
#B057CA #CA7757 #71CA57 #57ABCA
square
#B057CA #CA7757 #71CA57 #57ABCA
split-complementary
#B057CA #ABCA57 #57CA77
monochromatic
#6B287F #9237AD #B057CA #C686D9 #DCB4E7

Accessibility & contrast

On white

4.15
#B057CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B057CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057CA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057CA#FFFFFF#000000##000000
##B057CA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CE
Deuteranopia (green-blind)
#5C7FC7
Tritanopia (blue-blind)
#B06988
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b057ca;
/* rgb */ color: rgb(176, 87, 202);
/* oklch */ color: oklch(61.1% 0.186 318.0);
Tailwind
colors: {
  custom: {
    50: '#ca8bda',
    500: '#b057ca',
    950: '#000000',
  },
}
SCSS
$custom: #b057ca;
$custom-light: #ca8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b057ca",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 286.435,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.18619,
    "h": 318
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#B057CA
secondary
#B2D6A7
accent
#DB4C6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B057CA

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

Preview Lab → · Contrast checker → · Palette generator →

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