#B058F9#B058F9

#B058F9 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.1% C 0.233 H 305.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B058F9
RGBrgb(176, 88, 249)
HSLhsl(273, 93%, 66%)
HSVhsv(273, 65%, 98%)
CMYKcmyk(29.3%, 64.7%, 0%, 2.4%)
CIE-LABlab(55.12, 63.35, -66.47)
CIE-LCHlch(55.12, 91.82, 313.62°)
OKLaboklab(64.08% 0.1366 -0.1883)
OKLCHoklch(64.08% 0.233 305.9)
XYZxyz(38.4894, 23.0494, 92.0255)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058F9 #A1F958
analogous
#5F58F9 #B058F9 #F958F2
triadic
#B058F9 #F9B058 #58F9B0
tetradic
#B058F9 #F95F58 #A1F958 #58F2F9
square
#B058F9 #F95F58 #A1F958 #58F2F9
split-complementary
#B058F9 #F2F958 #58F95F
monochromatic
#7507CF #941DF7 #B058F9 #CC93FB #E8CEFD

Accessibility & contrast

On white

3.74
#B058F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B058F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058F9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058F9#FFFFFF#000000##000000
##B058F91.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FE
Deuteranopia (green-blind)
#2E84F5
Tritanopia (blue-blind)
#A37BA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b058f9;
/* rgb */ color: rgb(176, 88, 249);
/* oklch */ color: oklch(64.1% 0.233 305.9);
Tailwind
colors: {
  custom: {
    50: '#cc8cfc',
    500: '#b058f9',
    950: '#000000',
  },
}
SCSS
$custom: #b058f9;
$custom-light: #cc8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b058f9",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 249
  },
  "hsl": {
    "h": 272.795,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64077,
    "c": 0.23264,
    "h": 305.9
  },
  "luminance": 0.23049
}

Semantic roles & 50–950 ramp

primary
#B058F9
secondary
#D4F1BC
accent
#E60068
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B058F9

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

Preview Lab → · Contrast checker → · Palette generator →

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