#B058A4#B058A4

#B058A4 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.3% C 0.149 H 332.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B058A4
RGBrgb(176, 88, 164)
HSLhsl(308, 36%, 52%)
HSVhsv(308, 50%, 69%)
CMYKcmyk(0%, 50%, 6.8%, 31%)
CIE-LABlab(50.56, 46.17, -25.16)
CIE-LCHlch(50.56, 52.58, 331.41°)
OKLaboklab(59.27% 0.1321 -0.0684)
OKLCHoklch(59.27% 0.149 332.6)
XYZxyz(28.0950, 18.8917, 37.2814)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058A4 #58B064
analogous
#9058B0 #B058A4 #B05878
triadic
#B058A4 #A4B058 #58A4B0
tetradic
#B058A4 #B09058 #58B064 #5878B0
square
#B058A4 #B09058 #58B064 #5878B0
split-complementary
#B058A4 #78B058 #58B090
monochromatic
#602D59 #8A4180 #B058A4 #C482BB #D7ABD1

Accessibility & contrast

On white

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

On black

4.78
#B058A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058A4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058A4#FFFFFF#000000##000000
##B058A41.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b058a4;
/* rgb */ color: rgb(176, 88, 164);
/* oklch */ color: oklch(59.3% 0.149 332.6);
Tailwind
colors: {
  custom: {
    50: '#ca8abf',
    500: '#b058a4',
    950: '#000000',
  },
}
SCSS
$custom: #b058a4;
$custom-light: #ca8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#b058a4",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 308.182,
    "s": 35.772,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59271,
    "c": 0.14872,
    "h": 332.6
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B058A4

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

Preview Lab → · Contrast checker → · Palette generator →

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