#B58DFB#B58DFB

#B58DFB is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.5% C 0.159 H 299.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B58DFB
RGBrgb(181, 141, 251)
HSLhsl(262, 93%, 77%)
HSVhsv(262, 44%, 98%)
CMYKcmyk(27.9%, 43.8%, 0%, 1.6%)
CIE-LABlab(66.40, 37.38, -49.55)
CIE-LCHlch(66.40, 62.06, 307.03°)
OKLaboklab(72.54% 0.0775 -0.1388)
OKLCHoklch(72.54% 0.159 299.2)
XYZxyz(45.9895, 35.8382, 95.7427)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58DFB #D3FB8D
analogous
#8D9CFB #B58DFB #EC8DFB
triadic
#B58DFB #FBB58D #8DFBB5
tetradic
#B58DFB #FB8D9C #D3FB8D #8DFBEC
square
#B58DFB #FB8D9C #D3FB8D #8DFBEC
split-complementary
#B58DFB #FBEC8D #9CFB8D
monochromatic
#6817F7 #8F52F9 #B58DFB #DBC8FD #ECE1FE

Accessibility & contrast

On white

2.57
#B58DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B58DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58DFB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58DFB#FFFFFF#000000##000000
##B58DFB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#75A1F8
Tritanopia (blue-blind)
#A7A1B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b58dfb;
/* rgb */ color: rgb(181, 141, 251);
/* oklch */ color: oklch(72.5% 0.159 299.2);
Tailwind
colors: {
  custom: {
    50: '#cdaffd',
    500: '#b58dfb',
    950: '#000000',
  },
}
SCSS
$custom: #b58dfb;
$custom-light: #cdaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b58dfb",
  "rgb": {
    "r": 181,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 261.818,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72543,
    "c": 0.15898,
    "h": 299.2
  },
  "luminance": 0.35839
}

Semantic roles & 50–950 ramp

primary
#B58DFB
secondary
#EAF6D5
accent
#E60092
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B58DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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