#B979EE#B979EE

#B979EE is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.176 H 307.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B979EE
RGBrgb(185, 121, 238)
HSLhsl(273, 77%, 70%)
HSVhsv(273, 49%, 93%)
CMYKcmyk(22.3%, 49.2%, 0%, 6.7%)
CIE-LABlab(61.79, 46.35, -49.64)
CIE-LCHlch(61.79, 67.91, 313.03°)
OKLaboklab(68.98% 0.1073 -0.1389)
OKLCHoklch(68.98% 0.176 307.7)
XYZxyz(42.2745, 30.1626, 84.4673)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B979EE #AEEE79
analogous
#7F79EE #B979EE #EE79E8
triadic
#B979EE #EEB979 #79EEB9
tetradic
#B979EE #EE7F79 #AEEE79 #79E8EE
square
#B979EE #EE7F79 #AEEE79 #79E8EE
split-complementary
#B979EE #E8EE79 #79EE7F
monochromatic
#7F1BD2 #9D43E7 #B979EE #D5AFF5 #F1E4FC

Accessibility & contrast

On white

2.99
#B979EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B979EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B979EE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B979EE#FFFFFF#000000##000000
##B979EE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F2
Deuteranopia (green-blind)
#6B96EB
Tritanopia (blue-blind)
#B18DA9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b979ee;
/* rgb */ color: rgb(185, 121, 238);
/* oklch */ color: oklch(69.0% 0.176 307.7);
Tailwind
colors: {
  custom: {
    50: '#d0a1f4',
    500: '#b979ee',
    950: '#000000',
  },
}
SCSS
$custom: #b979ee;
$custom-light: #d0a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b979ee",
  "rgb": {
    "r": 185,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 272.821,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68984,
    "c": 0.17556,
    "h": 307.7
  },
  "luminance": 0.30162
}

Semantic roles & 50–950 ramp

primary
#B979EE
secondary
#E0F1D1
accent
#DA0C69
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B979EE

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

Preview Lab → · Contrast checker → · Palette generator →

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