#B58CF8#B58CF8

#B58CF8 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.2% C 0.157 H 300.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B58CF8
RGBrgb(181, 140, 248)
HSLhsl(263, 89%, 76%)
HSVhsv(263, 44%, 97%)
CMYKcmyk(27%, 43.5%, 0%, 2.7%)
CIE-LABlab(66.03, 37.21, -48.49)
CIE-LCHlch(66.03, 61.12, 307.51°)
OKLaboklab(72.22% 0.0784 -0.1357)
OKLCHoklch(72.22% 0.157 300)
XYZxyz(45.3735, 35.3570, 93.2229)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58CF8 #CFF88C
analogous
#8C99F8 #B58CF8 #EB8CF8
triadic
#B58CF8 #F8B58C #8CF8B5
tetradic
#B58CF8 #F88C99 #CFF88C #8CF8EB
square
#B58CF8 #F88C99 #CFF88C #8CF8EB
split-complementary
#B58CF8 #F8EB8C #99F88C
monochromatic
#6B19F1 #9052F4 #B58CF8 #DAC6FC #ECE2FD

Accessibility & contrast

On white

2.60
#B58CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#B58CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58CF8
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58CF8#FFFFFF#000000##000000
##B58CF81.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#76A0F5
Tritanopia (blue-blind)
#A89FB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b58cf8;
/* rgb */ color: rgb(181, 140, 248);
/* oklch */ color: oklch(72.2% 0.157 300.0);
Tailwind
colors: {
  custom: {
    50: '#cdaefb',
    500: '#b58cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b58cf8;
$custom-light: #cdaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#b58cf8",
  "rgb": {
    "r": 181,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 262.778,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72217,
    "c": 0.15675,
    "h": 300
  },
  "luminance": 0.35357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B58CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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