#B58DF7#B58DF7

#B58DF7 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.3% C 0.154 H 300.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B58DF7
RGBrgb(181, 141, 247)
HSLhsl(263, 87%, 76%)
HSVhsv(263, 43%, 97%)
CMYKcmyk(26.7%, 42.9%, 0%, 3.1%)
CIE-LABlab(66.20, 36.42, -47.66)
CIE-LCHlch(66.20, 59.98, 307.39°)
OKLaboklab(72.34% 0.0769 -0.1333)
OKLCHoklch(72.34% 0.154 300)
XYZxyz(45.3656, 35.5887, 92.4569)
Luminance0.3559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58DF7 #CFF78D
analogous
#8D9AF7 #B58DF7 #EA8DF7
triadic
#B58DF7 #F7B58D #8DF7B5
tetradic
#B58DF7 #F78D9A #CFF78D #8DF7EA
square
#B58DF7 #F78D9A #CFF78D #8DF7EA
split-complementary
#B58DF7 #F7EA8D #9AF78D
monochromatic
#6B1BEF #9054F3 #B58DF7 #DAC6FB #ECE2FD

Accessibility & contrast

On white

2.59
#B58DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B58DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58DF7
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58DF7#FFFFFF#000000##000000
##B58DF71.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FB
Deuteranopia (green-blind)
#78A0F4
Tritanopia (blue-blind)
#A89FB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b58df7;
/* rgb */ color: rgb(181, 141, 247);
/* oklch */ color: oklch(72.3% 0.154 300.0);
Tailwind
colors: {
  custom: {
    50: '#cdaffa',
    500: '#b58df7',
    950: '#000000',
  },
}
SCSS
$custom: #b58df7;
$custom-light: #cdaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b58df7",
  "rgb": {
    "r": 181,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 262.642,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72336,
    "c": 0.15391,
    "h": 300
  },
  "luminance": 0.35589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B58DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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