#B58AF9#B58AF9

#B58AF9 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.9% C 0.161 H 300.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B58AF9
RGBrgb(181, 138, 249)
HSLhsl(263, 90%, 76%)
HSVhsv(263, 45%, 98%)
CMYKcmyk(27.3%, 44.6%, 0%, 2.4%)
CIE-LABlab(65.62, 38.56, -49.67)
CIE-LCHlch(65.62, 62.88, 307.82°)
OKLaboklab(71.93% 0.0812 -0.1392)
OKLCHoklch(71.93% 0.161 300.3)
XYZxyz(45.2395, 34.8401, 93.9456)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58AF9 #CEF98A
analogous
#8A96F9 #B58AF9 #EC8AF9
triadic
#B58AF9 #F9B58A #8AF9B5
tetradic
#B58AF9 #F98A96 #CEF98A #8AF9EC
square
#B58AF9 #F98A96 #CEF98A #8AF9EC
split-complementary
#B58AF9 #F9EC8A #96F98A
monochromatic
#6B16F3 #9050F6 #B58AF9 #DAC4FC #EDE2FE

Accessibility & contrast

On white

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

On black

7.97
#B58AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58AF9
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58AF9#FFFFFF#000000##000000
##B58AF91.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#739FF6
Tritanopia (blue-blind)
#A89EB6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b58af9;
/* rgb */ color: rgb(181, 138, 249);
/* oklch */ color: oklch(71.9% 0.161 300.3);
Tailwind
colors: {
  custom: {
    50: '#cdadfc',
    500: '#b58af9',
    950: '#000000',
  },
}
SCSS
$custom: #b58af9;
$custom-light: #cdadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b58af9",
  "rgb": {
    "r": 181,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 263.243,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7193,
    "c": 0.16113,
    "h": 300.3
  },
  "luminance": 0.3484
}

Semantic roles & 50–950 ramp

primary
#B58AF9
secondary
#E9F6D5
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B58AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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