#B058A7#B058A7

#B058A7 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.4% C 0.151 H 331.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B058A7
RGBrgb(176, 88, 167)
HSLhsl(306, 36%, 52%)
HSVhsv(306, 50%, 69%)
CMYKcmyk(0%, 50%, 5.1%, 31%)
CIE-LABlab(50.69, 46.70, -26.72)
CIE-LCHlch(50.69, 53.80, 330.22°)
OKLaboklab(59.41% 0.1327 -0.0728)
OKLCHoklch(59.41% 0.151 331.2)
XYZxyz(28.3691, 19.0013, 38.7251)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058A7 #58B061
analogous
#8D58B0 #B058A7 #B0587B
triadic
#B058A7 #A7B058 #58A7B0
tetradic
#B058A7 #B08D58 #58B061 #587BB0
square
#B058A7 #B08D58 #58B061 #587BB0
split-complementary
#B058A7 #7BB058 #58B08D
monochromatic
#602D5B #8A4182 #B058A7 #C482BD #D7ABD3

Accessibility & contrast

On white

4.38
#B058A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B058A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058A7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058A7#FFFFFF#000000##000000
##B058A71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#6E7DA4
Tritanopia (blue-blind)
#B65F78
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b058a7;
/* rgb */ color: rgb(176, 88, 167);
/* oklch */ color: oklch(59.4% 0.151 331.2);
Tailwind
colors: {
  custom: {
    50: '#ca8ac1',
    500: '#b058a7',
    950: '#000000',
  },
}
SCSS
$custom: #b058a7;
$custom-light: #ca8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#b058a7",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 167
  },
  "hsl": {
    "h": 306.136,
    "s": 35.772,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.15134,
    "h": 331.2
  },
  "luminance": 0.19
}

Semantic roles & 50–950 ramp

primary
#B058A7
secondary
#9FC5A3
accent
#CC675C
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #B058A7

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

Preview Lab → · Contrast checker → · Palette generator →

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