#B058CA#B058CA

#B058CA is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.2% C 0.185 H 318.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B058CA
RGBrgb(176, 88, 202)
HSLhsl(286, 52%, 57%)
HSVhsv(286, 56%, 79%)
CMYKcmyk(12.9%, 56.4%, 0%, 20.8%)
CIE-LABlab(52.37, 53.33, -44.37)
CIE-LCHlch(52.37, 69.37, 320.24°)
OKLaboklab(61.2% 0.1372 -0.1236)
OKLCHoklch(61.2% 0.185 318)
XYZxyz(32.0534, 20.4750, 58.1293)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058CA #72CA58
analogous
#7758CA #B058CA #CA58AB
triadic
#B058CA #CAB058 #58CAB0
tetradic
#B058CA #CA7758 #72CA58 #58ABCA
square
#B058CA #CA7758 #72CA58 #58ABCA
split-complementary
#B058CA #ABCA58 #58CA77
monochromatic
#6B287F #9337AE #B058CA #C686D9 #DCB5E7

Accessibility & contrast

On white

4.12
#B058CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B058CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058CA#FFFFFF#000000##000000
##B058CA1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E77CE
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#B06A89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b058ca;
/* rgb */ color: rgb(176, 88, 202);
/* oklch */ color: oklch(61.2% 0.185 318.0);
Tailwind
colors: {
  custom: {
    50: '#ca8bda',
    500: '#b058ca',
    950: '#000000',
  },
}
SCSS
$custom: #b058ca;
$custom-light: #ca8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b058ca",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 286.316,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.18466,
    "h": 318
  },
  "luminance": 0.20474
}

Semantic roles & 50–950 ramp

primary
#B058CA
secondary
#B2D6A8
accent
#DB4D6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B058CA

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

Preview Lab → · Contrast checker → · Palette generator →

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