#B58BF2#B58BF2

#B58BF2 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.7% C 0.151 H 301.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B58BF2
RGBrgb(181, 139, 242)
HSLhsl(264, 80%, 75%)
HSVhsv(264, 43%, 95%)
CMYKcmyk(25.2%, 42.6%, 0%, 5.1%)
CIE-LABlab(65.51, 36.35, -46.00)
CIE-LCHlch(65.51, 58.63, 308.31°)
OKLaboklab(71.74% 0.0788 -0.1285)
OKLCHoklch(71.74% 0.151 301.5)
XYZxyz(44.3121, 34.6997, 88.3504)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58BF2 #C8F28B
analogous
#8B95F2 #B58BF2 #E98BF2
triadic
#B58BF2 #F2B58B #8BF2B5
tetradic
#B58BF2 #F28B95 #C8F28B #8BF2E9
square
#B58BF2 #F28B95 #C8F28B #8BF2E9
split-complementary
#B58BF2 #F2E98B #95F28B
monochromatic
#6F1DE6 #9254EC #B58BF2 #D8C2F8 #EDE3FC

Accessibility & contrast

On white

2.64
#B58BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B58BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58BF2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58BF2#FFFFFF#000000##000000
##B58BF21.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#AA9DB3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b58bf2;
/* rgb */ color: rgb(181, 139, 242);
/* oklch */ color: oklch(71.7% 0.151 301.5);
Tailwind
colors: {
  custom: {
    50: '#cdadf7',
    500: '#b58bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b58bf2;
$custom-light: #cdadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b58bf2",
  "rgb": {
    "r": 181,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 264.466,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71739,
    "c": 0.15075,
    "h": 301.5
  },
  "luminance": 0.347
}

Semantic roles & 50–950 ramp

primary
#B58BF2
secondary
#E8F4D7
accent
#DC0986
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B58BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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