#B979EF#B979EF

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

Color values

HEX#B979EF
RGBrgb(185, 121, 239)
HSLhsl(273, 79%, 71%)
HSVhsv(273, 49%, 94%)
CMYKcmyk(22.6%, 49.4%, 0%, 6.3%)
CIE-LABlab(61.84, 46.57, -50.11)
CIE-LCHlch(61.84, 68.41, 312.90°)
OKLaboklab(69.04% 0.1074 -0.1403)
OKLCHoklch(69.04% 0.177 307.4)
XYZxyz(42.4218, 30.2215, 85.2431)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B979EF #AFEF79
analogous
#7E79EF #B979EF #EF79EA
triadic
#B979EF #EFB979 #79EFB9
tetradic
#B979EF #EF7E79 #AFEF79 #79EAEF
square
#B979EF #EF7E79 #AFEF79 #79EAEF
split-complementary
#B979EF #EAEF79 #79EF7E
monochromatic
#7F19D4 #9C42E8 #B979EF #D6B0F6 #F1E4FC

Accessibility & contrast

On white

2.98
#B979EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#B979EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B979EF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B979EF#FFFFFF#000000##000000
##B979EF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#B18DA9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b979ef;
/* rgb */ color: rgb(185, 121, 239);
/* oklch */ color: oklch(69.0% 0.177 307.4);
Tailwind
colors: {
  custom: {
    50: '#d0a1f5',
    500: '#b979ef',
    950: '#000000',
  },
}
SCSS
$custom: #b979ef;
$custom-light: #d0a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b979ef",
  "rgb": {
    "r": 185,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 272.542,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69038,
    "c": 0.17672,
    "h": 307.4
  },
  "luminance": 0.30221
}

Semantic roles & 50–950 ramp

primary
#B979EF
secondary
#E1F2D2
accent
#DB0B6A
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B979EF

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

Preview Lab → · Contrast checker → · Palette generator →

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