#B579F8#B579F8

#B579F8 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.186 H 303.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B579F8
RGBrgb(181, 121, 248)
HSLhsl(268, 90%, 72%)
HSVhsv(268, 51%, 97%)
CMYKcmyk(27%, 51.2%, 0%, 2.7%)
CIE-LABlab(61.89, 47.60, -55.04)
CIE-LCHlch(61.89, 72.77, 310.85°)
OKLaboklab(69.13% 0.1034 -0.1548)
OKLCHoklch(69.13% 0.186 303.7)
XYZxyz(42.8330, 30.2759, 92.3760)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B579F8 #BCF879
analogous
#797DF8 #B579F8 #F479F8
triadic
#B579F8 #F8B579 #79F8B5
tetradic
#B579F8 #F8797D #BCF879 #79F8F4
square
#B579F8 #F8797D #BCF879 #79F8F4
split-complementary
#B579F8 #F8F479 #7DF879
monochromatic
#750CEA #953FF5 #B579F8 #D5B3FB #EFE2FD

Accessibility & contrast

On white

2.98
#B579F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B579F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B579F8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B579F8#FFFFFF#000000##000000
##B579F81.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#A990AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b579f8;
/* rgb */ color: rgb(181, 121, 248);
/* oklch */ color: oklch(69.1% 0.186 303.7);
Tailwind
colors: {
  custom: {
    50: '#cea1fb',
    500: '#b579f8',
    950: '#000000',
  },
}
SCSS
$custom: #b579f8;
$custom-light: #cea1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b579f8",
  "rgb": {
    "r": 181,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 268.346,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69129,
    "c": 0.18615,
    "h": 303.7
  },
  "luminance": 0.30276
}

Semantic roles & 50–950 ramp

primary
#B579F8
secondary
#E6F6D5
accent
#E60079
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B579F8

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

Preview Lab → · Contrast checker → · Palette generator →

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