#B058CD#B058CD

#B058CD is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.4% C 0.188 H 317.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B058CD
RGBrgb(176, 88, 205)
HSLhsl(285, 54%, 57%)
HSVhsv(285, 57%, 80%)
CMYKcmyk(14.1%, 57.1%, 0%, 19.6%)
CIE-LABlab(52.53, 53.94, -45.83)
CIE-LCHlch(52.53, 70.78, 319.64°)
OKLaboklab(61.36% 0.1373 -0.1279)
OKLCHoklch(61.36% 0.188 317)
XYZxyz(32.4121, 20.6185, 60.0182)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058CD #75CD58
analogous
#7558CD #B058CD #CD58B0
triadic
#B058CD #CDB058 #58CDB0
tetradic
#B058CD #CD7558 #75CD58 #58B0CD
square
#B058CD #CD7558 #75CD58 #58B0CD
split-complementary
#B058CD #B0CD58 #58CD75
monochromatic
#6C2783 #9335B2 #B058CD #C687DB #DDB6E9

Accessibility & contrast

On white

4.10
#B058CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B058CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058CD#FFFFFF#000000##000000
##B058CD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#AF6B8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b058cd;
/* rgb */ color: rgb(176, 88, 205);
/* oklch */ color: oklch(61.4% 0.188 317.0);
Tailwind
colors: {
  custom: {
    50: '#ca8bdd',
    500: '#b058cd',
    950: '#000000',
  },
}
SCSS
$custom: #b058cd;
$custom-light: #ca8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b058cd",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 285.128,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.18768,
    "h": 317
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#B058CD
secondary
#B4D8A9
accent
#DD4B6F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B058CD

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

Preview Lab → · Contrast checker → · Palette generator →

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