#B058A2#B058A2

#B058A2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.2% C 0.147 H 333.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B058A2
RGBrgb(176, 88, 162)
HSLhsl(310, 36%, 52%)
HSVhsv(310, 50%, 69%)
CMYKcmyk(0%, 50%, 8%, 31%)
CIE-LABlab(50.48, 45.82, -24.11)
CIE-LCHlch(50.48, 51.78, 332.25°)
OKLaboklab(59.18% 0.1317 -0.0654)
OKLCHoklch(59.18% 0.147 333.6)
XYZxyz(27.9158, 18.8200, 36.3377)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058A2 #58B066
analogous
#9258B0 #B058A2 #B05876
triadic
#B058A2 #A2B058 #58A2B0
tetradic
#B058A2 #B09258 #58B066 #5876B0
square
#B058A2 #B09258 #58B066 #5876B0
split-complementary
#B058A2 #76B058 #58B092
monochromatic
#602D58 #8A417E #B058A2 #C482B9 #D7ABD0

Accessibility & contrast

On white

4.41
#B058A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B058A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058A2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058A2#FFFFFF#000000##000000
##B058A21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#707DA0
Tritanopia (blue-blind)
#B75D75
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b058a2;
/* rgb */ color: rgb(176, 88, 162);
/* oklch */ color: oklch(59.2% 0.147 333.6);
Tailwind
colors: {
  custom: {
    50: '#ca8abd',
    500: '#b058a2',
    950: '#000000',
  },
}
SCSS
$custom: #b058a2;
$custom-light: #ca8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#b058a2",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 309.545,
    "s": 35.772,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.14701,
    "h": 333.6
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#B058A2
secondary
#9FC5A5
accent
#CC6E5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #B058A2

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

Preview Lab → · Contrast checker → · Palette generator →

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