#B057FA#B057FA

#B057FA is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 64.0% C 0.235 H 305.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B057FA
RGBrgb(176, 87, 250)
HSLhsl(273, 94%, 66%)
HSVhsv(273, 65%, 98%)
CMYKcmyk(29.6%, 65.2%, 0%, 2%)
CIE-LABlab(55.02, 64.04, -67.19)
CIE-LCHlch(55.02, 92.82, 313.62°)
OKLaboklab(64.02% 0.1375 -0.1905)
OKLCHoklch(64.02% 0.235 305.8)
XYZxyz(38.5643, 22.9489, 92.8219)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057FA #A1FA57
analogous
#5E57FA #B057FA #FA57F2
triadic
#B057FA #FAB057 #57FAB0
tetradic
#B057FA #FA5E57 #A1FA57 #57F2FA
square
#B057FA #FA5E57 #A1FA57 #57F2FA
split-complementary
#B057FA #F2FA57 #57FA5E
monochromatic
#7506D0 #941CF8 #B057FA #CC92FC #E8CEFE

Accessibility & contrast

On white

3.76
#B057FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#B057FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057FA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057FA#FFFFFF#000000##000000
##B057FA1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#2A84F6
Tritanopia (blue-blind)
#A37AA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b057fa;
/* rgb */ color: rgb(176, 87, 250);
/* oklch */ color: oklch(64.0% 0.235 305.8);
Tailwind
colors: {
  custom: {
    50: '#cc8cfd',
    500: '#b057fa',
    950: '#000000',
  },
}
SCSS
$custom: #b057fa;
$custom-light: #cc8cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b057fa",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 272.761,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64023,
    "c": 0.23494,
    "h": 305.8
  },
  "luminance": 0.22949
}

Semantic roles & 50–950 ramp

primary
#B057FA
secondary
#D4F1BC
accent
#E60068
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B057FA

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

Preview Lab → · Contrast checker → · Palette generator →

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