#B58BF8#B58BF8

#B58BF8 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.0% C 0.158 H 300.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B58BF8
RGBrgb(181, 139, 248)
HSLhsl(263, 89%, 76%)
HSVhsv(263, 44%, 97%)
CMYKcmyk(27%, 44%, 0%, 2.7%)
CIE-LABlab(65.80, 37.77, -48.84)
CIE-LCHlch(65.80, 61.74, 307.71°)
OKLaboklab(72.05% 0.0797 -0.1368)
OKLCHoklch(72.05% 0.158 300.2)
XYZxyz(45.2281, 35.0661, 93.1744)
Luminance0.3507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58BF8 #CEF88B
analogous
#8B97F8 #B58BF8 #EB8BF8
triadic
#B58BF8 #F8B58B #8BF8B5
tetradic
#B58BF8 #F88B97 #CEF88B #8BF8EB
square
#B58BF8 #F88B97 #CEF88B #8BF8EB
split-complementary
#B58BF8 #F8EB8B #97F88B
monochromatic
#6B18F1 #9051F5 #B58BF8 #DAC5FB #EDE2FD

Accessibility & contrast

On white

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

On black

8.01
#B58BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58BF8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58BF8#FFFFFF#000000##000000
##B58BF81.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#A89EB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b58bf8;
/* rgb */ color: rgb(181, 139, 248);
/* oklch */ color: oklch(72.0% 0.158 300.2);
Tailwind
colors: {
  custom: {
    50: '#cdadfb',
    500: '#b58bf8',
    950: '#000000',
  },
}
SCSS
$custom: #b58bf8;
$custom-light: #cdadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b58bf8",
  "rgb": {
    "r": 181,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 263.119,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72047,
    "c": 0.15832,
    "h": 300.2
  },
  "luminance": 0.35066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B58BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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