#B058F6#B058F6

#B058F6 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.230 H 306.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B058F6
RGBrgb(176, 88, 246)
HSLhsl(273, 90%, 65%)
HSVhsv(273, 64%, 96%)
CMYKcmyk(28.5%, 64.2%, 0%, 3.5%)
CIE-LABlab(54.93, 62.68, -65.11)
CIE-LCHlch(54.93, 90.38, 313.91°)
OKLaboklab(63.88% 0.1368 -0.1844)
OKLCHoklch(63.88% 0.23 306.6)
XYZxyz(38.0252, 22.8638, 89.5809)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058F6 #9EF658
analogous
#6158F6 #B058F6 #F658ED
triadic
#B058F6 #F6B058 #58F6B0
tetradic
#B058F6 #F66158 #9EF658 #58EDF6
square
#B058F6 #F66158 #9EF658 #58EDF6
split-complementary
#B058F6 #EDF658 #58F661
monochromatic
#750BC9 #951EF3 #B058F6 #CB92F9 #E7CCFC

Accessibility & contrast

On white

3.77
#B058F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B058F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058F6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058F6#FFFFFF#000000##000000
##B058F61.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#3384F2
Tritanopia (blue-blind)
#A479A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b058f6;
/* rgb */ color: rgb(176, 88, 246);
/* oklch */ color: oklch(63.9% 0.230 306.6);
Tailwind
colors: {
  custom: {
    50: '#cc8cfa',
    500: '#b058f6',
    950: '#000000',
  },
}
SCSS
$custom: #b058f6;
$custom-light: #cc8cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b058f6",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 246
  },
  "hsl": {
    "h": 273.418,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63878,
    "c": 0.22957,
    "h": 306.6
  },
  "luminance": 0.22863
}

Semantic roles & 50–950 ramp

primary
#B058F6
secondary
#D2EFBA
accent
#E60066
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B058F6

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

Preview Lab → · Contrast checker → · Palette generator →

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