#B979EB#B979EB

#B979EB is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.8% C 0.172 H 308.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B979EB
RGBrgb(185, 121, 235)
HSLhsl(274, 74%, 70%)
HSVhsv(274, 49%, 92%)
CMYKcmyk(21.3%, 48.5%, 0%, 7.8%)
CIE-LABlab(61.64, 45.68, -48.22)
CIE-LCHlch(61.64, 66.42, 313.45°)
OKLaboklab(68.82% 0.107 -0.1348)
OKLCHoklch(68.82% 0.172 308.4)
XYZxyz(41.8374, 29.9877, 82.1654)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B979EB #ABEB79
analogous
#8079EB #B979EB #EB79E4
triadic
#B979EB #EBB979 #79EBB9
tetradic
#B979EB #EB8079 #ABEB79 #79E4EB
square
#B979EB #EB8079 #ABEB79 #79E4EB
split-complementary
#B979EB #E4EB79 #79EB80
monochromatic
#7F1ECB #9D44E3 #B979EB #D5AEF3 #F1E4FB

Accessibility & contrast

On white

3.00
#B979EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B979EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B979EB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B979EB#FFFFFF#000000##000000
##B979EB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#B28CA7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b979eb;
/* rgb */ color: rgb(185, 121, 235);
/* oklch */ color: oklch(68.8% 0.172 308.4);
Tailwind
colors: {
  custom: {
    50: '#d0a1f2',
    500: '#b979eb',
    950: '#000000',
  },
}
SCSS
$custom: #b979eb;
$custom-light: #d0a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b979eb",
  "rgb": {
    "r": 185,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 273.684,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68823,
    "c": 0.1721,
    "h": 308.4
  },
  "luminance": 0.29987
}

Semantic roles & 50–950 ramp

primary
#B979EB
secondary
#DEF0D0
accent
#D60F67
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B979EB

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

Preview Lab → · Contrast checker → · Palette generator →

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