#B058CB#B058CB

#B058CB is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.186 H 317.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B058CB
RGBrgb(176, 88, 203)
HSLhsl(286, 53%, 57%)
HSVhsv(286, 57%, 80%)
CMYKcmyk(13.3%, 56.7%, 0%, 20.4%)
CIE-LABlab(52.42, 53.53, -44.86)
CIE-LCHlch(52.42, 69.84, 320.04°)
OKLaboklab(61.25% 0.1372 -0.1251)
OKLCHoklch(61.25% 0.186 317.6)
XYZxyz(32.1722, 20.5226, 58.7549)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058CB #73CB58
analogous
#7758CB #B058CB #CB58AD
triadic
#B058CB #CBB058 #58CBB0
tetradic
#B058CB #CB7758 #73CB58 #58ADCB
square
#B058CB #CB7758 #73CB58 #58ADCB
split-complementary
#B058CB #ADCB58 #58CB77
monochromatic
#6C2881 #9337AF #B058CB #C687DA #DCB5E8

Accessibility & contrast

On white

4.11
#B058CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B058CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058CB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058CB#FFFFFF#000000##000000
##B058CB1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CF
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#AF6A89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b058cb;
/* rgb */ color: rgb(176, 88, 203);
/* oklch */ color: oklch(61.3% 0.186 317.6);
Tailwind
colors: {
  custom: {
    50: '#ca8bdb',
    500: '#b058cb',
    950: '#000000',
  },
}
SCSS
$custom: #b058cb;
$custom-light: #ca8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b058cb",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 285.913,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61252,
    "c": 0.18567,
    "h": 317.6
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#B058CB
secondary
#B3D7A8
accent
#DC4C6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B058CB

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

Preview Lab → · Contrast checker → · Palette generator →

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