#B057F2#B057F2

#B057F2 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.5% C 0.227 H 307.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B057F2
RGBrgb(176, 87, 242)
HSLhsl(274, 86%, 65%)
HSVhsv(274, 64%, 95%)
CMYKcmyk(27.3%, 64%, 0%, 5.1%)
CIE-LABlab(54.51, 62.27, -63.56)
CIE-LCHlch(54.51, 88.98, 314.41°)
OKLaboklab(63.49% 0.1382 -0.1798)
OKLCHoklch(63.49% 0.227 307.5)
XYZxyz(37.3364, 22.4578, 86.3551)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057F2 #99F257
analogous
#6357F2 #B057F2 #F257E6
triadic
#B057F2 #F2B057 #57F2B0
tetradic
#B057F2 #F26357 #99F257 #57E6F2
square
#B057F2 #F26357 #99F257 #57E6F2
split-complementary
#B057F2 #E6F257 #57F263
monochromatic
#740FC0 #951EEE #B057F2 #CB90F6 #E5C9FB

Accessibility & contrast

On white

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

On black

5.49
#B057F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057F2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057F2#FFFFFF#000000##000000
##B057F21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#3883EF
Tritanopia (blue-blind)
#A6779D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b057f2;
/* rgb */ color: rgb(176, 87, 242);
/* oklch */ color: oklch(63.5% 0.227 307.5);
Tailwind
colors: {
  custom: {
    50: '#cc8cf7',
    500: '#b057f2',
    950: '#000000',
  },
}
SCSS
$custom: #b057f2;
$custom-light: #cc8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b057f2",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 274.452,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63494,
    "c": 0.22676,
    "h": 307.5
  },
  "luminance": 0.22457
}

Semantic roles & 50–950 ramp

primary
#B057F2
secondary
#CEEDB8
accent
#E20362
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B057F2

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

Preview Lab → · Contrast checker → · Palette generator →

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