#B057F3#B057F3

#B057F3 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.6% C 0.228 H 307.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B057F3
RGBrgb(176, 87, 243)
HSLhsl(274, 87%, 65%)
HSVhsv(274, 64%, 95%)
CMYKcmyk(27.6%, 64.2%, 0%, 4.7%)
CIE-LABlab(54.57, 62.49, -64.02)
CIE-LCHlch(54.57, 89.46, 314.31°)
OKLaboklab(63.56% 0.1381 -0.1811)
OKLCHoklch(63.56% 0.228 307.3)
XYZxyz(37.4870, 22.5180, 87.1482)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057F3 #9AF357
analogous
#6257F3 #B057F3 #F357E8
triadic
#B057F3 #F3B057 #57F3B0
tetradic
#B057F3 #F36257 #9AF357 #57E8F3
square
#B057F3 #F36257 #9AF357 #57E8F3
split-complementary
#B057F3 #E8F357 #57F362
monochromatic
#740EC2 #951EEF #B057F3 #CB90F7 #E6C9FB

Accessibility & contrast

On white

3.82
#B057F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B057F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057F3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057F3#FFFFFF#000000##000000
##B057F31.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#3683F0
Tritanopia (blue-blind)
#A5789E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b057f3;
/* rgb */ color: rgb(176, 87, 243);
/* oklch */ color: oklch(63.6% 0.228 307.3);
Tailwind
colors: {
  custom: {
    50: '#cc8cf8',
    500: '#b057f3',
    950: '#000000',
  },
}
SCSS
$custom: #b057f3;
$custom-light: #cc8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b057f3",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 274.231,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63559,
    "c": 0.22778,
    "h": 307.3
  },
  "luminance": 0.22518
}

Semantic roles & 50–950 ramp

primary
#B057F3
secondary
#CFEEB8
accent
#E30263
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B057F3

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

Preview Lab → · Contrast checker → · Palette generator →

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