#B579F2#B579F2

#B579F2 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.179 H 305.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#B579F2
RGBrgb(181, 121, 242)
HSLhsl(270, 82%, 71%)
HSVhsv(270, 50%, 95%)
CMYKcmyk(25.2%, 50%, 0%, 5.1%)
CIE-LABlab(61.58, 46.21, -52.23)
CIE-LCHlch(61.58, 69.73, 311.50°)
OKLaboklab(68.79% 0.1029 -0.1466)
OKLCHoklch(68.79% 0.179 305.1)
XYZxyz(41.9170, 29.9095, 87.5520)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B579F2 #B6F279
analogous
#7979F2 #B579F2 #F179F2
triadic
#B579F2 #F2B579 #79F2B5
tetradic
#B579F2 #F27979 #B6F279 #79F2F1
square
#B579F2 #F27979 #B6F279 #79F2F1
split-complementary
#B579F2 #F2F179 #79F279
monochromatic
#7715DB #9641ED #B579F2 #D4B1F7 #F0E3FC

Accessibility & contrast

On white

3.01
#B579F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#B579F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B579F2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B579F2#FFFFFF#000000##000000
##B579F21.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#AB8FAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b579f2;
/* rgb */ color: rgb(181, 121, 242);
/* oklch */ color: oklch(68.8% 0.179 305.1);
Tailwind
colors: {
  custom: {
    50: '#cea1f7',
    500: '#b579f2',
    950: '#000000',
  },
}
SCSS
$custom: #b579f2;
$custom-light: #cea1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b579f2",
  "rgb": {
    "r": 181,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 269.752,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68792,
    "c": 0.17909,
    "h": 305.1
  },
  "luminance": 0.29909
}

Semantic roles & 50–950 ramp

primary
#B579F2
secondary
#E4F3D3
accent
#DF0774
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B579F2

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

Preview Lab → · Contrast checker → · Palette generator →

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