#B058F1#B058F1

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

Color values

HEX#B058F1
RGBrgb(176, 88, 241)
HSLhsl(275, 85%, 65%)
HSVhsv(275, 63%, 95%)
CMYKcmyk(27%, 63.5%, 0%, 5.5%)
CIE-LABlab(54.62, 61.58, -62.83)
CIE-LCHlch(54.62, 87.97, 314.42°)
OKLaboklab(63.55% 0.1371 -0.1777)
OKLCHoklch(63.55% 0.224 307.7)
XYZxyz(37.2681, 22.5609, 85.5934)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058F1 #99F158
analogous
#6458F1 #B058F1 #F158E5
triadic
#B058F1 #F1B058 #58F1B0
tetradic
#B058F1 #F16458 #99F158 #58E5F1
square
#B058F1 #F16458 #99F158 #58E5F1
split-complementary
#B058F1 #E5F158 #58F164
monochromatic
#7410BF #9520EC #B058F1 #CB90F6 #E5C9FA

Accessibility & contrast

On white

3.81
#B058F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B058F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058F1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058F1#FFFFFF#000000##000000
##B058F11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#3A84EE
Tritanopia (blue-blind)
#A6789D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b058f1;
/* rgb */ color: rgb(176, 88, 241);
/* oklch */ color: oklch(63.6% 0.224 307.7);
Tailwind
colors: {
  custom: {
    50: '#cc8cf6',
    500: '#b058f1',
    950: '#000000',
  },
}
SCSS
$custom: #b058f1;
$custom-light: #cc8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b058f1",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 274.51,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63551,
    "c": 0.22443,
    "h": 307.7
  },
  "luminance": 0.2256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B058F1

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

Preview Lab → · Contrast checker → · Palette generator →

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