#B58BF7#B58BF7

#B58BF7 is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.0% C 0.157 H 300.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B58BF7
RGBrgb(181, 139, 247)
HSLhsl(263, 87%, 76%)
HSVhsv(263, 44%, 97%)
CMYKcmyk(26.7%, 43.7%, 0%, 3.1%)
CIE-LABlab(65.75, 37.53, -48.37)
CIE-LCHlch(65.75, 61.22, 307.81°)
OKLaboklab(72% 0.0796 -0.1354)
OKLCHoklch(72% 0.157 300.4)
XYZxyz(45.0734, 35.0042, 92.3595)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58BF7 #CDF78B
analogous
#8B97F7 #B58BF7 #EB8BF7
triadic
#B58BF7 #F7B58B #8BF7B5
tetradic
#B58BF7 #F78B97 #CDF78B #8BF7EB
square
#B58BF7 #F78B97 #CDF78B #8BF7EB
split-complementary
#B58BF7 #F7EB8B #97F78B
monochromatic
#6C18EF #9052F3 #B58BF7 #DAC4FB #EDE2FD

Accessibility & contrast

On white

2.62
#B58BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B58BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58BF7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58BF7#FFFFFF#000000##000000
##B58BF71.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#A89EB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b58bf7;
/* rgb */ color: rgb(181, 139, 247);
/* oklch */ color: oklch(72.0% 0.157 300.4);
Tailwind
colors: {
  custom: {
    50: '#cdadfa',
    500: '#b58bf7',
    950: '#000000',
  },
}
SCSS
$custom: #b58bf7;
$custom-light: #cdadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b58bf7",
  "rgb": {
    "r": 181,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 263.333,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71995,
    "c": 0.15705,
    "h": 300.4
  },
  "luminance": 0.35004
}

Semantic roles & 50–950 ramp

primary
#B58BF7
secondary
#E9F5D6
accent
#E4028C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B58BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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