#B879FC#B879FC

#B879FC is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.7% C 0.192 H 304.1°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B879FC
RGBrgb(184, 121, 252)
HSLhsl(269, 96%, 73%)
HSVhsv(269, 52%, 99%)
CMYKcmyk(27%, 52%, 0%, 1.2%)
CIE-LABlab(62.42, 49.28, -56.38)
CIE-LCHlch(62.42, 74.89, 311.16°)
OKLaboklab(69.66% 0.1073 -0.1587)
OKLCHoklch(69.66% 0.192 304.1)
XYZxyz(44.1714, 30.8935, 95.7126)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B879FC #BDFC79
analogous
#797BFC #B879FC #F979FC
triadic
#B879FC #FCB879 #79FCB8
tetradic
#B879FC #FC797B #BDFC79 #79FCF9
square
#B879FC #FC797B #BDFC79 #79FCF9
split-complementary
#B879FC #FCF979 #7BFC79
monochromatic
#7905F5 #983DFB #B879FC #D8B5FD #EFE1FE

Accessibility & contrast

On white

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

On black

7.18
#B879FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B879FC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B879FC#FFFFFF#000000##000000
##B879FC1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#6197F9
Tritanopia (blue-blind)
#AC91AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b879fc;
/* rgb */ color: rgb(184, 121, 252);
/* oklch */ color: oklch(69.7% 0.192 304.1);
Tailwind
colors: {
  custom: {
    50: '#d0a1fe',
    500: '#b879fc',
    950: '#000000',
  },
}
SCSS
$custom: #b879fc;
$custom-light: #d0a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b879fc",
  "rgb": {
    "r": 184,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 268.855,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69658,
    "c": 0.19153,
    "h": 304.1
  },
  "luminance": 0.30893
}

Semantic roles & 50–950 ramp

primary
#B879FC
secondary
#E6F7D4
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B879FC

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

Preview Lab → · Contrast checker → · Palette generator →

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