#B579FE#B579FE

#B579FE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.193 H 302.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B579FE
RGBrgb(181, 121, 254)
HSLhsl(267, 99%, 74%)
HSVhsv(267, 52%, 100%)
CMYKcmyk(28.7%, 52.4%, 0%, 0.4%)
CIE-LABlab(62.21, 49.01, -57.83)
CIE-LCHlch(62.21, 75.80, 310.28°)
OKLaboklab(69.47% 0.1038 -0.163)
OKLCHoklch(69.47% 0.193 302.5)
XYZxyz(43.7788, 30.6542, 97.3572)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B579FE #C2FE79
analogous
#797FFE #B579FE #F879FE
triadic
#B579FE #FEB579 #79FEB5
tetradic
#B579FE #FE797F #C2FE79 #79FEF8
square
#B579FE #FE797F #C2FE79 #79FEF8
split-complementary
#B579FE #FEF879 #7FFE79
monochromatic
#7202FB #933CFE #B579FE #D7B6FE #EEE1FF

Accessibility & contrast

On white

2.94
#B579FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B579FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B579FE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B579FE#FFFFFF#000000##000000
##B579FE1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#A792B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b579fe;
/* rgb */ color: rgb(181, 121, 254);
/* oklch */ color: oklch(69.5% 0.193 302.5);
Tailwind
colors: {
  custom: {
    50: '#cea1ff',
    500: '#b579fe',
    950: '#000000',
  },
}
SCSS
$custom: #b579fe;
$custom-light: #cea1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b579fe",
  "rgb": {
    "r": 181,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 267.068,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69472,
    "c": 0.19319,
    "h": 302.5
  },
  "luminance": 0.30654
}

Semantic roles & 50–950 ramp

primary
#B579FE
secondary
#E7F7D4
accent
#E6007E
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B579FE

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

Preview Lab → · Contrast checker → · Palette generator →

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