#B579F5#B579F5

#B579F5 is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.0% C 0.183 H 304.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#B579F5
RGBrgb(181, 121, 245)
HSLhsl(269, 86%, 72%)
HSVhsv(269, 51%, 96%)
CMYKcmyk(26.1%, 50.6%, 0%, 3.9%)
CIE-LABlab(61.73, 46.90, -53.64)
CIE-LCHlch(61.73, 71.25, 311.17°)
OKLaboklab(68.96% 0.1031 -0.1507)
OKLCHoklch(68.96% 0.183 304.4)
XYZxyz(42.3713, 30.0912, 89.9445)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B579F5 #B9F579
analogous
#797BF5 #B579F5 #F379F5
triadic
#B579F5 #F5B579 #79F5B5
tetradic
#B579F5 #F5797B #B9F579 #79F5F3
square
#B579F5 #F5797B #B9F579 #79F5F3
split-complementary
#B579F5 #F5F379 #7BF579
monochromatic
#7611E3 #9640F1 #B579F5 #D4B2F9 #EFE3FD

Accessibility & contrast

On white

2.99
#B579F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#B579F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B579F5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B579F5#FFFFFF#000000##000000
##B579F51.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#6495F2
Tritanopia (blue-blind)
#AA8FAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b579f5;
/* rgb */ color: rgb(181, 121, 245);
/* oklch */ color: oklch(69.0% 0.183 304.4);
Tailwind
colors: {
  custom: {
    50: '#cea1f9',
    500: '#b579f5',
    950: '#000000',
  },
}
SCSS
$custom: #b579f5;
$custom-light: #cea1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b579f5",
  "rgb": {
    "r": 181,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 269.032,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6896,
    "c": 0.18262,
    "h": 304.4
  },
  "luminance": 0.30091
}

Semantic roles & 50–950 ramp

primary
#B579F5
secondary
#E5F5D5
accent
#E30376
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B579F5

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

Preview Lab → · Contrast checker → · Palette generator →

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