#B58EFA#B58EFA

#B58EFA is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.7% C 0.156 H 299.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B58EFA
RGBrgb(181, 142, 250)
HSLhsl(262, 92%, 77%)
HSVhsv(262, 43%, 98%)
CMYKcmyk(27.6%, 43.2%, 0%, 2%)
CIE-LABlab(66.57, 36.58, -48.72)
CIE-LCHlch(66.57, 60.92, 306.90°)
OKLaboklab(72.66% 0.076 -0.1364)
OKLCHoklch(72.66% 0.156 299.1)
XYZxyz(45.9804, 36.0716, 94.9640)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58EFA #D3FA8E
analogous
#8E9DFA #B58EFA #EB8EFA
triadic
#B58EFA #FAB58E #8EFAB5
tetradic
#B58EFA #FA8E9D #D3FA8E #8EFAEB
square
#B58EFA #FA8E9D #D3FA8E #8EFAEB
split-complementary
#B58EFA #FAEB8E #9DFA8E
monochromatic
#6819F5 #8F53F7 #B58EFA #DBC9FD #ECE2FE

Accessibility & contrast

On white

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

On black

8.21
#B58EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58EFA
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58EFA#FFFFFF#000000##000000
##B58EFA1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#A7A1B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b58efa;
/* rgb */ color: rgb(181, 142, 250);
/* oklch */ color: oklch(72.7% 0.156 299.1);
Tailwind
colors: {
  custom: {
    50: '#cdaffc',
    500: '#b58efa',
    950: '#000000',
  },
}
SCSS
$custom: #b58efa;
$custom-light: #cdaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b58efa",
  "rgb": {
    "r": 181,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 261.667,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72661,
    "c": 0.15616,
    "h": 299.1
  },
  "luminance": 0.36072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B58EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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