#B58EF7#B58EF7

#B58EF7 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.5% C 0.152 H 299.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B58EF7
RGBrgb(181, 142, 247)
HSLhsl(262, 87%, 76%)
HSVhsv(262, 43%, 97%)
CMYKcmyk(26.7%, 42.5%, 0%, 3.1%)
CIE-LABlab(66.43, 35.87, -47.30)
CIE-LCHlch(66.43, 59.36, 307.17°)
OKLaboklab(72.51% 0.0756 -0.1323)
OKLCHoklch(72.51% 0.152 299.7)
XYZxyz(45.5137, 35.8849, 92.5063)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58EF7 #D0F78E
analogous
#8E9CF7 #B58EF7 #EA8EF7
triadic
#B58EF7 #F7B58E #8EF7B5
tetradic
#B58EF7 #F78E9C #D0F78E #8EF7EA
square
#B58EF7 #F78E9C #D0F78E #8EF7EA
split-complementary
#B58EF7 #F7EA8E #9CF78E
monochromatic
#6A1CEF #9055F3 #B58EF7 #DAC7FB #ECE2FD

Accessibility & contrast

On white

2.57
#B58EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B58EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58EF7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58EF7#FFFFFF#000000##000000
##B58EF71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#A8A0B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b58ef7;
/* rgb */ color: rgb(181, 142, 247);
/* oklch */ color: oklch(72.5% 0.152 299.7);
Tailwind
colors: {
  custom: {
    50: '#cdaffa',
    500: '#b58ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b58ef7;
$custom-light: #cdaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b58ef7",
  "rgb": {
    "r": 181,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 262.286,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72507,
    "c": 0.15234,
    "h": 299.7
  },
  "luminance": 0.35885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B58EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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