#B579F9#B579F9

#B579F9 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.2% C 0.187 H 303.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B579F9
RGBrgb(181, 121, 249)
HSLhsl(268, 91%, 73%)
HSVhsv(268, 51%, 98%)
CMYKcmyk(27.3%, 51.4%, 0%, 2.4%)
CIE-LABlab(61.94, 47.83, -55.50)
CIE-LCHlch(61.94, 73.27, 310.75°)
OKLaboklab(69.19% 0.1035 -0.1562)
OKLCHoklch(69.19% 0.187 303.5)
XYZxyz(42.9885, 30.3381, 93.1953)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B579F9 #BDF979
analogous
#797DF9 #B579F9 #F579F9
triadic
#B579F9 #F9B579 #79F9B5
tetradic
#B579F9 #F9797D #BDF979 #79F9F5
square
#B579F9 #F9797D #BDF979 #79F9F5
split-complementary
#B579F9 #F9F579 #7DF979
monochromatic
#750BED #953EF6 #B579F9 #D5B4FC #EFE2FE

Accessibility & contrast

On white

2.97
#B579F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B579F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B579F9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B579F9#FFFFFF#000000##000000
##B579F91.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FD
Deuteranopia (green-blind)
#6196F6
Tritanopia (blue-blind)
#A991AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b579f9;
/* rgb */ color: rgb(181, 121, 249);
/* oklch */ color: oklch(69.2% 0.187 303.5);
Tailwind
colors: {
  custom: {
    50: '#cea1fc',
    500: '#b579f9',
    950: '#000000',
  },
}
SCSS
$custom: #b579f9;
$custom-light: #cea1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b579f9",
  "rgb": {
    "r": 181,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 268.125,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69185,
    "c": 0.18732,
    "h": 303.5
  },
  "luminance": 0.30338
}

Semantic roles & 50–950 ramp

primary
#B579F9
secondary
#E7F6D5
accent
#E6007A
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B579F9

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

Preview Lab → · Contrast checker → · Palette generator →

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