#B879F8#B879F8

#B879F8 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.4% C 0.187 H 304.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B879F8
RGBrgb(184, 121, 248)
HSLhsl(270, 90%, 72%)
HSVhsv(270, 51%, 97%)
CMYKcmyk(25.8%, 51.2%, 0%, 2.7%)
CIE-LABlab(62.20, 48.36, -54.52)
CIE-LCHlch(62.20, 72.88, 311.57°)
OKLaboklab(69.43% 0.107 -0.1532)
OKLCHoklch(69.43% 0.187 304.9)
XYZxyz(43.5442, 30.6426, 92.4094)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B879F8 #B9F879
analogous
#7979F8 #B879F8 #F879F8
triadic
#B879F8 #F8B879 #79F8B8
tetradic
#B879F8 #F87979 #B9F879 #79F8F8
square
#B879F8 #F87979 #B9F879 #79F8F8
split-complementary
#B879F8 #F8F879 #79F879
monochromatic
#7A0CEA #993FF5 #B879F8 #D7B3FB #F0E2FD

Accessibility & contrast

On white

2.95
#B879F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B879F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B879F8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B879F8#FFFFFF#000000##000000
##B879F81.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FC
Deuteranopia (green-blind)
#6497F5
Tritanopia (blue-blind)
#AD90AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b879f8;
/* rgb */ color: rgb(184, 121, 248);
/* oklch */ color: oklch(69.4% 0.187 304.9);
Tailwind
colors: {
  custom: {
    50: '#d0a1fb',
    500: '#b879f8',
    950: '#000000',
  },
}
SCSS
$custom: #b879f8;
$custom-light: #d0a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b879f8",
  "rgb": {
    "r": 184,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 269.764,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69432,
    "c": 0.18688,
    "h": 304.9
  },
  "luminance": 0.30642
}

Semantic roles & 50–950 ramp

primary
#B879F8
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B879F8

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

Preview Lab → · Contrast checker → · Palette generator →

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