#B058CF#B058CF

#B058CF is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.5% C 0.190 H 316.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B058CF
RGBrgb(176, 88, 207)
HSLhsl(284, 55%, 58%)
HSVhsv(284, 57%, 81%)
CMYKcmyk(15%, 57.5%, 0%, 18.8%)
CIE-LABlab(52.64, 54.34, -46.80)
CIE-LCHlch(52.64, 71.72, 319.26°)
OKLaboklab(61.48% 0.1374 -0.1307)
OKLCHoklch(61.48% 0.19 316.4)
XYZxyz(32.6550, 20.7157, 61.2978)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B058CF #77CF58
analogous
#7458CF #B058CF #CF58B2
triadic
#B058CF #CFB058 #58CFB0
tetradic
#B058CF #CF7458 #77CF58 #58B2CF
square
#B058CF #CF7458 #77CF58 #58B2CF
split-complementary
#B058CF #B2CF58 #58CF74
monochromatic
#6D2786 #9434B6 #B058CF #C688DD #DDB7EA

Accessibility & contrast

On white

4.08
#B058CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B058CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B058CF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B058CF#FFFFFF#000000##000000
##B058CF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3978D3
Deuteranopia (green-blind)
#5A80CC
Tritanopia (blue-blind)
#AF6C8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b058cf;
/* rgb */ color: rgb(176, 88, 207);
/* oklch */ color: oklch(61.5% 0.190 316.4);
Tailwind
colors: {
  custom: {
    50: '#ca8bde',
    500: '#b058cf',
    950: '#000000',
  },
}
SCSS
$custom: #b058cf;
$custom-light: #ca8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#b058cf",
  "rgb": {
    "r": 176,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 284.37,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61477,
    "c": 0.18969,
    "h": 316.4
  },
  "luminance": 0.20715
}

Semantic roles & 50–950 ramp

primary
#B058CF
secondary
#B6D9AA
accent
#DF4970
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B058CF

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

Preview Lab → · Contrast checker → · Palette generator →

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