#B058EB#B058EB

#B058EB is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.2% C 0.218 H 309.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B058EB
RGBrgb(176, 88, 235)
HSLhsl(276, 79%, 63%)
HSVhsv(276, 63%, 92%)
CMYKcmyk(25.1%, 62.6%, 0%, 7.8%)
CIE-LABlab(54.25, 60.26, -60.07)
CIE-LCHlch(54.25, 85.09, 315.09°)
OKLaboklab(63.17% 0.1374 -0.1695)
OKLCHoklch(63.17% 0.218 309)
XYZxyz(36.3866, 22.2083, 80.9510)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058EB #93EB58
analogous
#6658EB #B058EB #EB58DD
triadic
#B058EB #EBB058 #58EBB0
tetradic
#B058EB #EB6658 #93EB58 #58DDEB
square
#B058EB #EB6658 #93EB58 #58DDEB
split-complementary
#B058EB #DDEB58 #58EB66
monochromatic
#7415B3 #9621E4 #B058EB #CA8FF2 #E4C5F8

Accessibility & contrast

On white

3.86
#B058EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B058EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058EB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058EB#FFFFFF#000000##000000
##B058EB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#4283E8
Tritanopia (blue-blind)
#A8759A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b058eb;
/* rgb */ color: rgb(176, 88, 235);
/* oklch */ color: oklch(63.2% 0.218 309.0);
Tailwind
colors: {
  custom: {
    50: '#cc8cf2',
    500: '#b058eb',
    950: '#000000',
  },
}
SCSS
$custom: #b058eb;
$custom-light: #cc8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b058eb",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 275.918,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63166,
    "c": 0.21826,
    "h": 309
  },
  "luminance": 0.22208
}

Semantic roles & 50–950 ramp

primary
#B058EB
secondary
#CAEAB5
accent
#DB0B5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B058EB

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

Preview Lab → · Contrast checker → · Palette generator →

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