#B058DC#B058DC

#B058DC is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.2% C 0.203 H 312.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B058DC
RGBrgb(176, 88, 220)
HSLhsl(280, 65%, 60%)
HSVhsv(280, 60%, 86%)
CMYKcmyk(20%, 60%, 0%, 13.7%)
CIE-LABlab(53.36, 57.04, -53.04)
CIE-LCHlch(53.36, 77.89, 317.08°)
OKLaboklab(62.24% 0.1378 -0.149)
OKLCHoklch(62.24% 0.203 312.8)
XYZxyz(34.3102, 21.3778, 70.0152)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058DC #84DC58
analogous
#6E58DC #B058DC #DC58C6
triadic
#B058DC #DCB058 #58DCB0
tetradic
#B058DC #DC6E58 #84DC58 #58C6DC
square
#B058DC #DC6E58 #84DC58 #58C6DC
split-complementary
#B058DC #C6DC58 #58DC6E
monochromatic
#712099 #962BCC #B058DC #C88BE7 #E0BDF1

Accessibility & contrast

On white

3.98
#B058DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B058DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058DC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058DC#FFFFFF#000000##000000
##B058DC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#297BE0
Deuteranopia (green-blind)
#5081D9
Tritanopia (blue-blind)
#AB7092
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b058dc;
/* rgb */ color: rgb(176, 88, 220);
/* oklch */ color: oklch(62.2% 0.203 312.8);
Tailwind
colors: {
  custom: {
    50: '#cb8ce7',
    500: '#b058dc',
    950: '#000000',
  },
}
SCSS
$custom: #b058dc;
$custom-light: #cb8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#b058dc",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 280,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62238,
    "c": 0.20289,
    "h": 312.8
  },
  "luminance": 0.21377
}

Semantic roles & 50–950 ramp

primary
#B058DC
secondary
#BFE1AF
accent
#CD1855
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B058DC

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

Preview Lab → · Contrast checker → · Palette generator →

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