#B58AFA#B58AFA

#B58AFA is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.0% C 0.162 H 300.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B58AFA
RGBrgb(181, 138, 250)
HSLhsl(263, 92%, 76%)
HSVhsv(263, 45%, 98%)
CMYKcmyk(27.6%, 44.8%, 0%, 2%)
CIE-LABlab(65.67, 38.80, -50.14)
CIE-LCHlch(65.67, 63.40, 307.73°)
OKLaboklab(71.98% 0.0814 -0.1405)
OKLCHoklch(71.98% 0.162 300.1)
XYZxyz(45.3959, 34.9026, 94.7692)
Luminance0.3490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58AFA #CFFA8A
analogous
#8A97FA #B58AFA #ED8AFA
triadic
#B58AFA #FAB58A #8AFAB5
tetradic
#B58AFA #FA8A97 #CFFA8A #8AFAED
square
#B58AFA #FA8A97 #CFFA8A #8AFAED
split-complementary
#B58AFA #FAED8A #97FA8A
monochromatic
#6B15F5 #904FF7 #B58AFA #DAC5FD #ECE2FE

Accessibility & contrast

On white

2.63
#B58AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B58AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58AFA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58AFA#FFFFFF#000000##000000
##B58AFA1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#A89EB6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b58afa;
/* rgb */ color: rgb(181, 138, 250);
/* oklch */ color: oklch(72.0% 0.162 300.1);
Tailwind
colors: {
  custom: {
    50: '#cdadfc',
    500: '#b58afa',
    950: '#000000',
  },
}
SCSS
$custom: #b58afa;
$custom-light: #cdadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b58afa",
  "rgb": {
    "r": 181,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 263.036,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71983,
    "c": 0.16239,
    "h": 300.1
  },
  "luminance": 0.34903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B58AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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