#B057F1#B057F1

#B057F1 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.226 H 307.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B057F1
RGBrgb(176, 87, 241)
HSLhsl(275, 85%, 64%)
HSVhsv(275, 64%, 95%)
CMYKcmyk(27%, 63.9%, 0%, 5.5%)
CIE-LABlab(54.45, 62.05, -63.10)
CIE-LCHlch(54.45, 88.50, 314.52°)
OKLaboklab(63.43% 0.1382 -0.1785)
OKLCHoklch(63.43% 0.226 307.8)
XYZxyz(37.1866, 22.3979, 85.5663)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057F1 #98F157
analogous
#6357F1 #B057F1 #F157E5
triadic
#B057F1 #F1B057 #57F1B0
tetradic
#B057F1 #F16357 #98F157 #57E5F1
square
#B057F1 #F16357 #98F157 #57E5F1
split-complementary
#B057F1 #E5F157 #57F163
monochromatic
#7410BE #951FEC #B057F1 #CB8FF6 #E5C8FA

Accessibility & contrast

On white

3.83
#B057F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B057F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057F1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057F1#FFFFFF#000000##000000
##B057F11.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#3983EE
Tritanopia (blue-blind)
#A6779D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b057f1;
/* rgb */ color: rgb(176, 87, 241);
/* oklch */ color: oklch(63.4% 0.226 307.8);
Tailwind
colors: {
  custom: {
    50: '#cc8cf6',
    500: '#b057f1',
    950: '#000000',
  },
}
SCSS
$custom: #b057f1;
$custom-light: #cc8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b057f1",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 241
  },
  "hsl": {
    "h": 274.675,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63428,
    "c": 0.22574,
    "h": 307.8
  },
  "luminance": 0.22397
}

Semantic roles & 50–950 ramp

primary
#B057F1
secondary
#CEEDB7
accent
#E10462
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B057F1

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

Preview Lab → · Contrast checker → · Palette generator →

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