#B58EFC#B58EFC

#B58EFC is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.8% C 0.159 H 298.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B58EFC
RGBrgb(181, 142, 252)
HSLhsl(261, 95%, 77%)
HSVhsv(261, 44%, 99%)
CMYKcmyk(28.2%, 43.7%, 0%, 1.2%)
CIE-LABlab(66.67, 37.06, -49.66)
CIE-LCHlch(66.67, 61.96, 306.74°)
OKLaboklab(72.77% 0.0763 -0.1391)
OKLCHoklch(72.77% 0.159 298.7)
XYZxyz(46.2956, 36.1977, 96.6244)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58EFC #D5FC8E
analogous
#8E9EFC #B58EFC #EC8EFC
triadic
#B58EFC #FCB58E #8EFCB5
tetradic
#B58EFC #FC8E9E #D5FC8E #8EFCEC
square
#B58EFC #FC8E9E #D5FC8E #8EFCEC
split-complementary
#B58EFC #FCEC8E #9EFC8E
monochromatic
#6717F9 #8E52FA #B58EFC #DCCAFE #EBE1FE

Accessibility & contrast

On white

2.55
#B58EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#B58EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58EFC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58EFC#FFFFFF#000000##000000
##B58EFC1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#A7A2B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b58efc;
/* rgb */ color: rgb(181, 142, 252);
/* oklch */ color: oklch(72.8% 0.159 298.7);
Tailwind
colors: {
  custom: {
    50: '#cdaffe',
    500: '#b58efc',
    950: '#000000',
  },
}
SCSS
$custom: #b58efc;
$custom-light: #cdaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b58efc",
  "rgb": {
    "r": 181,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 261.273,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72765,
    "c": 0.1587,
    "h": 298.7
  },
  "luminance": 0.36198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B58EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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