#B979F9#B979F9

#B979F9 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.6% C 0.188 H 305.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B979F9
RGBrgb(185, 121, 249)
HSLhsl(270, 91%, 73%)
HSVhsv(270, 51%, 98%)
CMYKcmyk(25.7%, 51.4%, 0%, 2.4%)
CIE-LABlab(62.36, 48.84, -54.81)
CIE-LCHlch(62.36, 73.42, 311.70°)
OKLaboklab(69.59% 0.1083 -0.154)
OKLCHoklch(69.59% 0.188 305.1)
XYZxyz(43.9402, 30.8288, 93.2399)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B979F9 #B9F979
analogous
#7979F9 #B979F9 #F979F9
triadic
#B979F9 #F9B979 #79F9B9
tetradic
#B979F9 #F97979 #B9F979 #79F9F9
square
#B979F9 #F97979 #B9F979 #79F9F9
split-complementary
#B979F9 #F9F979 #79F979
monochromatic
#7C0BED #9A3EF6 #B979F9 #D8B4FC #F0E2FE

Accessibility & contrast

On white

2.93
#B979F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B979F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B979F9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B979F9#FFFFFF#000000##000000
##B979F91.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FD
Deuteranopia (green-blind)
#6497F6
Tritanopia (blue-blind)
#AE90AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b979f9;
/* rgb */ color: rgb(185, 121, 249);
/* oklch */ color: oklch(69.6% 0.188 305.1);
Tailwind
colors: {
  custom: {
    50: '#d1a1fc',
    500: '#b979f9',
    950: '#000000',
  },
}
SCSS
$custom: #b979f9;
$custom-light: #d1a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b979f9",
  "rgb": {
    "r": 185,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 270,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6959,
    "c": 0.18829,
    "h": 305.1
  },
  "luminance": 0.30829
}

Semantic roles & 50–950 ramp

primary
#B979F9
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B979F9

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

Preview Lab → · Contrast checker → · Palette generator →

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