#B58EF9#B58EF9

#B58EF9 is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.6% C 0.155 H 299.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B58EF9
RGBrgb(181, 142, 249)
HSLhsl(262, 90%, 77%)
HSVhsv(262, 43%, 98%)
CMYKcmyk(27.3%, 43%, 0%, 2.4%)
CIE-LABlab(66.53, 36.34, -48.24)
CIE-LCHlch(66.53, 60.40, 306.99°)
OKLaboklab(72.61% 0.0759 -0.135)
OKLCHoklch(72.61% 0.155 299.3)
XYZxyz(45.8240, 36.0090, 94.1404)
Luminance0.3601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58EF9 #D2F98E
analogous
#8E9DF9 #B58EF9 #EB8EF9
triadic
#B58EF9 #F9B58E #8EF9B5
tetradic
#B58EF9 #F98E9D #D2F98E #8EF9EB
square
#B58EF9 #F98E9D #D2F98E #8EF9EB
split-complementary
#B58EF9 #F9EB8E #9DF98E
monochromatic
#691AF3 #8F54F6 #B58EF9 #DBC8FC #ECE2FD

Accessibility & contrast

On white

2.56
#B58EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B58EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58EF9
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58EF9#FFFFFF#000000##000000
##B58EF91.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FD
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#A8A1B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b58ef9;
/* rgb */ color: rgb(181, 142, 249);
/* oklch */ color: oklch(72.6% 0.155 299.3);
Tailwind
colors: {
  custom: {
    50: '#cdaffc',
    500: '#b58ef9',
    950: '#000000',
  },
}
SCSS
$custom: #b58ef9;
$custom-light: #cdaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b58ef9",
  "rgb": {
    "r": 181,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 261.869,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7261,
    "c": 0.15489,
    "h": 299.3
  },
  "luminance": 0.36009
}

Semantic roles & 50–950 ramp

primary
#B58EF9
secondary
#EAF6D5
accent
#E60092
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B58EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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