#B58DF2#B58DF2

#B58DF2 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.1% C 0.148 H 301.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B58DF2
RGBrgb(181, 141, 242)
HSLhsl(264, 80%, 75%)
HSVhsv(264, 42%, 95%)
CMYKcmyk(25.2%, 41.7%, 0%, 5.1%)
CIE-LABlab(65.97, 35.24, -45.29)
CIE-LCHlch(65.97, 57.38, 307.89°)
OKLaboklab(72.08% 0.0761 -0.1264)
OKLCHoklch(72.08% 0.148 301)
XYZxyz(44.6044, 35.2842, 88.4478)
Luminance0.3528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58DF2 #CAF28D
analogous
#8D98F2 #B58DF2 #E78DF2
triadic
#B58DF2 #F2B58D #8DF2B5
tetradic
#B58DF2 #F28D98 #CAF28D #8DF2E7
square
#B58DF2 #F28D98 #CAF28D #8DF2E7
split-complementary
#B58DF2 #F2E78D #98F28D
monochromatic
#6E1FE5 #9156EC #B58DF2 #D9C4F8 #EDE4FC

Accessibility & contrast

On white

2.61
#B58DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B58DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58DF2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58DF2#FFFFFF#000000##000000
##B58DF21.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#AA9EB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b58df2;
/* rgb */ color: rgb(181, 141, 242);
/* oklch */ color: oklch(72.1% 0.148 301.0);
Tailwind
colors: {
  custom: {
    50: '#cdaff7',
    500: '#b58df2',
    950: '#000000',
  },
}
SCSS
$custom: #b58df2;
$custom-light: #cdaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b58df2",
  "rgb": {
    "r": 181,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 263.762,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72082,
    "c": 0.14757,
    "h": 301
  },
  "luminance": 0.35284
}

Semantic roles & 50–950 ramp

primary
#B58DF2
secondary
#E8F4D7
accent
#DC0A89
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B58DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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