#B058A3#B058A3

#B058A3 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.2% C 0.148 H 333.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B058A3
RGBrgb(176, 88, 163)
HSLhsl(309, 36%, 52%)
HSVhsv(309, 50%, 69%)
CMYKcmyk(0%, 50%, 7.4%, 31%)
CIE-LABlab(50.52, 46.00, -24.64)
CIE-LCHlch(50.52, 52.18, 331.83°)
OKLaboklab(59.23% 0.1319 -0.0669)
OKLCHoklch(59.23% 0.148 333.1)
XYZxyz(28.0050, 18.8557, 36.8077)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058A3 #58B065
analogous
#9158B0 #B058A3 #B05877
triadic
#B058A3 #A3B058 #58A3B0
tetradic
#B058A3 #B09158 #58B065 #5877B0
square
#B058A3 #B09158 #58B065 #5877B0
split-complementary
#B058A3 #77B058 #58B091
monochromatic
#602D59 #8A417F #B058A3 #C482BA #D7ABD1

Accessibility & contrast

On white

4.40
#B058A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B058A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058A3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058A3#FFFFFF#000000##000000
##B058A31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A6
Deuteranopia (green-blind)
#6F7DA0
Tritanopia (blue-blind)
#B75E76
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b058a3;
/* rgb */ color: rgb(176, 88, 163);
/* oklch */ color: oklch(59.2% 0.148 333.1);
Tailwind
colors: {
  custom: {
    50: '#ca8abe',
    500: '#b058a3',
    950: '#000000',
  },
}
SCSS
$custom: #b058a3;
$custom-light: #ca8abe;
$custom-dark: #000000;
JSON
{
  "hex": "#b058a3",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 163
  },
  "hsl": {
    "h": 308.864,
    "s": 35.772,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.14786,
    "h": 333.1
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#B058A3
secondary
#9FC5A4
accent
#CC6D5C
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #B058A3

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

Preview Lab → · Contrast checker → · Palette generator →

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