#B579EB#B579EB

#B579EB is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.4% C 0.171 H 306.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B579EB
RGBrgb(181, 121, 235)
HSLhsl(272, 74%, 70%)
HSVhsv(272, 49%, 92%)
CMYKcmyk(23%, 48.5%, 0%, 7.8%)
CIE-LABlab(61.22, 44.60, -48.92)
CIE-LCHlch(61.22, 66.20, 312.36°)
OKLaboklab(68.41% 0.1022 -0.1369)
OKLCHoklch(68.41% 0.171 306.7)
XYZxyz(40.8858, 29.4970, 82.1207)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B579EB #AFEB79
analogous
#7C79EB #B579EB #EB79E8
triadic
#B579EB #EBB579 #79EBB5
tetradic
#B579EB #EB7C79 #AFEB79 #79E8EB
square
#B579EB #EB7C79 #AFEB79 #79E8EB
split-complementary
#B579EB #E8EB79 #79EB7C
monochromatic
#791ECB #9844E3 #B579EB #D2AEF3 #F0E4FB

Accessibility & contrast

On white

3.04
#B579EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B579EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B579EB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B579EB#FFFFFF#000000##000000
##B579EB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#AD8DA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b579eb;
/* rgb */ color: rgb(181, 121, 235);
/* oklch */ color: oklch(68.4% 0.171 306.7);
Tailwind
colors: {
  custom: {
    50: '#cda1f2',
    500: '#b579eb',
    950: '#000000',
  },
}
SCSS
$custom: #b579eb;
$custom-light: #cda1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b579eb",
  "rgb": {
    "r": 181,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 271.579,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6841,
    "c": 0.17085,
    "h": 306.7
  },
  "luminance": 0.29497
}

Semantic roles & 50–950 ramp

primary
#B579EB
secondary
#DFF0D0
accent
#D60F6E
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B579EB

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

Preview Lab → · Contrast checker → · Palette generator →

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