#B579EA#B579EA

#B579EA is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.170 H 307.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B579EA
RGBrgb(181, 121, 234)
HSLhsl(272, 73%, 70%)
HSVhsv(272, 48%, 92%)
CMYKcmyk(22.6%, 48.3%, 0%, 8.2%)
CIE-LABlab(61.17, 44.38, -48.44)
CIE-LCHlch(61.17, 65.70, 312.49°)
OKLaboklab(68.36% 0.1021 -0.1355)
OKLCHoklch(68.36% 0.17 307)
XYZxyz(40.7417, 29.4394, 81.3620)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B579EA #AEEA79
analogous
#7D79EA #B579EA #EA79E7
triadic
#B579EA #EAB579 #79EAB5
tetradic
#B579EA #EA7D79 #AEEA79 #79E7EA
square
#B579EA #EA7D79 #AEEA79 #79E7EA
split-complementary
#B579EA #E7EA79 #79EA7D
monochromatic
#7A20C9 #9844E2 #B579EA #D2AEF2 #EFE3FB

Accessibility & contrast

On white

3.05
#B579EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B579EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B579EA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B579EA#FFFFFF#000000##000000
##B579EA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#AD8CA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b579ea;
/* rgb */ color: rgb(181, 121, 234);
/* oklch */ color: oklch(68.4% 0.170 307.0);
Tailwind
colors: {
  custom: {
    50: '#cda1f1',
    500: '#b579ea',
    950: '#000000',
  },
}
SCSS
$custom: #b579ea;
$custom-light: #cda1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b579ea",
  "rgb": {
    "r": 181,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 271.858,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68356,
    "c": 0.16968,
    "h": 307
  },
  "luminance": 0.29439
}

Semantic roles & 50–950 ramp

primary
#B579EA
secondary
#DEF0CF
accent
#D5116D
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B579EA

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

Preview Lab → · Contrast checker → · Palette generator →

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