#B058EC#B058EC

#B058EC is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.2% C 0.219 H 308.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B058EC
RGBrgb(176, 88, 236)
HSLhsl(276, 80%, 64%)
HSVhsv(276, 63%, 93%)
CMYKcmyk(25.4%, 62.7%, 0%, 7.5%)
CIE-LABlab(54.31, 60.48, -60.53)
CIE-LCHlch(54.31, 85.57, 314.98°)
OKLaboklab(63.23% 0.1374 -0.1709)
OKLCHoklch(63.23% 0.219 308.8)
XYZxyz(36.5315, 22.2663, 81.7140)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058EC #94EC58
analogous
#6658EC #B058EC #EC58DE
triadic
#B058EC #ECB058 #58ECB0
tetradic
#B058EC #EC6658 #94EC58 #58DEEC
square
#B058EC #EC6658 #94EC58 #58DEEC
split-complementary
#B058EC #DEEC58 #58EC66
monochromatic
#7415B5 #9621E6 #B058EC #CA8FF2 #E4C6F9

Accessibility & contrast

On white

3.85
#B058EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B058EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058EC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058EC#FFFFFF#000000##000000
##B058EC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#4183E9
Tritanopia (blue-blind)
#A7769A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b058ec;
/* rgb */ color: rgb(176, 88, 236);
/* oklch */ color: oklch(63.2% 0.219 308.8);
Tailwind
colors: {
  custom: {
    50: '#cc8cf3',
    500: '#b058ec',
    950: '#000000',
  },
}
SCSS
$custom: #b058ec;
$custom-light: #cc8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b058ec",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 275.676,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6323,
    "c": 0.21929,
    "h": 308.8
  },
  "luminance": 0.22266
}

Semantic roles & 50–950 ramp

primary
#B058EC
secondary
#CBEAB6
accent
#DC0A5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B058EC

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

Preview Lab → · Contrast checker → · Palette generator →

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