#B58AF7#B58AF7

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

Color values

HEX#B58AF7
RGBrgb(181, 138, 247)
HSLhsl(264, 87%, 75%)
HSVhsv(264, 44%, 97%)
CMYKcmyk(26.7%, 44.1%, 0%, 3.1%)
CIE-LABlab(65.53, 38.08, -48.73)
CIE-LCHlch(65.53, 61.84, 308.01°)
OKLaboklab(71.83% 0.0809 -0.1364)
OKLCHoklch(71.83% 0.159 300.7)
XYZxyz(44.9292, 34.7159, 92.3115)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58AF7 #CCF78A
analogous
#8A95F7 #B58AF7 #EC8AF7
triadic
#B58AF7 #F7B58A #8AF7B5
tetradic
#B58AF7 #F78A95 #CCF78A #8AF7EC
square
#B58AF7 #F78A95 #CCF78A #8AF7EC
split-complementary
#B58AF7 #F7EC8A #95F78A
monochromatic
#6D17EF #9151F3 #B58AF7 #D9C3FB #EDE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B58AF7#FFFFFF#000000##000000
##B58AF71.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)
#6B9FFB
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#A99DB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b58af7;
/* rgb */ color: rgb(181, 138, 247);
/* oklch */ color: oklch(71.8% 0.159 300.7);
Tailwind
colors: {
  custom: {
    50: '#cdadfa',
    500: '#b58af7',
    950: '#000000',
  },
}
SCSS
$custom: #b58af7;
$custom-light: #cdadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b58af7",
  "rgb": {
    "r": 181,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 263.67,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71826,
    "c": 0.15862,
    "h": 300.7
  },
  "luminance": 0.34716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B58AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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