#B579FB#B579FB

#B579FB is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.3% C 0.190 H 303.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B579FB
RGBrgb(181, 121, 251)
HSLhsl(268, 94%, 73%)
HSVhsv(268, 52%, 98%)
CMYKcmyk(27.9%, 51.8%, 0%, 1.6%)
CIE-LABlab(62.05, 48.30, -56.44)
CIE-LCHlch(62.05, 74.28, 310.56°)
OKLaboklab(69.3% 0.1036 -0.1589)
OKLCHoklch(69.3% 0.19 303.1)
XYZxyz(43.3021, 30.4636, 94.8469)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B579FB #BFFB79
analogous
#797EFB #B579FB #F679FB
triadic
#B579FB #FBB579 #79FBB5
tetradic
#B579FB #FB797E #BFFB79 #79FBF6
square
#B579FB #FB797E #BFFB79 #79FBF6
split-complementary
#B579FB #FBF679 #7EFB79
monochromatic
#7407F2 #943EF9 #B579FB #D6B4FD #EFE1FE

Accessibility & contrast

On white

2.96
#B579FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B579FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B579FB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B579FB#FFFFFF#000000##000000
##B579FB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#A891AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b579fb;
/* rgb */ color: rgb(181, 121, 251);
/* oklch */ color: oklch(69.3% 0.190 303.1);
Tailwind
colors: {
  custom: {
    50: '#cea1fd',
    500: '#b579fb',
    950: '#000000',
  },
}
SCSS
$custom: #b579fb;
$custom-light: #cea1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b579fb",
  "rgb": {
    "r": 181,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 267.692,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.693,
    "c": 0.18967,
    "h": 303.1
  },
  "luminance": 0.30464
}

Semantic roles & 50–950 ramp

primary
#B579FB
secondary
#E7F6D5
accent
#E6007C
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B579FB

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

Preview Lab → · Contrast checker → · Palette generator →

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