#B877EF#B877EF

#B877EF is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.180 H 307.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B877EF
RGBrgb(184, 119, 239)
HSLhsl(273, 79%, 70%)
HSVhsv(273, 50%, 94%)
CMYKcmyk(23%, 50.2%, 0%, 6.3%)
CIE-LABlab(61.32, 47.38, -50.95)
CIE-LCHlch(61.32, 69.57, 312.92°)
OKLaboklab(68.63% 0.1089 -0.1428)
OKLCHoklch(68.63% 0.18 307.3)
XYZxyz(41.9408, 29.6164, 85.1517)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877EF #AEEF77
analogous
#7C77EF #B877EF #EF77EA
triadic
#B877EF #EFB877 #77EFB8
tetradic
#B877EF #EF7C77 #AEEF77 #77EAEF
square
#B877EF #EF7C77 #AEEF77 #77EAEF
split-complementary
#B877EF #EAEF77 #77EF7C
monochromatic
#7E19D3 #9B40E9 #B877EF #D5AEF5 #F1E4FC

Accessibility & contrast

On white

3.03
#B877EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B877EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877EF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877EF#FFFFFF#000000##000000
##B877EF1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#6895EC
Tritanopia (blue-blind)
#B08CA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b877ef;
/* rgb */ color: rgb(184, 119, 239);
/* oklch */ color: oklch(68.6% 0.180 307.3);
Tailwind
colors: {
  custom: {
    50: '#d0a0f5',
    500: '#b877ef',
    950: '#000000',
  },
}
SCSS
$custom: #b877ef;
$custom-light: #d0a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b877ef",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 272.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.17955,
    "h": 307.3
  },
  "luminance": 0.29616
}

Semantic roles & 50–950 ramp

primary
#B877EF
secondary
#E0F2D0
accent
#DB0A6A
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B877EF

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

Preview Lab → · Contrast checker → · Palette generator →

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