#B78FF2#B78FF2

#B78FF2 is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.6% C 0.145 H 301.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B78FF2
RGBrgb(183, 143, 242)
HSLhsl(264, 79%, 75%)
HSVhsv(264, 41%, 95%)
CMYKcmyk(24.4%, 40.9%, 0%, 5.1%)
CIE-LABlab(66.61, 34.68, -44.26)
CIE-LCHlch(66.61, 56.23, 308.08°)
OKLaboklab(72.61% 0.0757 -0.1234)
OKLCHoklch(72.61% 0.145 301.5)
XYZxyz(45.3744, 36.1229, 88.5692)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78FF2 #CAF28F
analogous
#8F98F2 #B78FF2 #E88FF2
triadic
#B78FF2 #F2B78F #8FF2B7
tetradic
#B78FF2 #F28F98 #CAF28F #8FF2E8
square
#B78FF2 #F28F98 #CAF28F #8FF2E8
split-complementary
#B78FF2 #F2E88F #98F28F
monochromatic
#7021E5 #9458EC #B78FF2 #DAC6F8 #EDE4FC

Accessibility & contrast

On white

2.55
#B78FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B78FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78FF2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78FF2#FFFFFF#000000##000000
##B78FF21.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#ACA0B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b78ff2;
/* rgb */ color: rgb(183, 143, 242);
/* oklch */ color: oklch(72.6% 0.145 301.5);
Tailwind
colors: {
  custom: {
    50: '#ceb0f7',
    500: '#b78ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b78ff2;
$custom-light: #ceb0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b78ff2",
  "rgb": {
    "r": 183,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 264.242,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72612,
    "c": 0.14479,
    "h": 301.5
  },
  "luminance": 0.36123
}

Semantic roles & 50–950 ramp

primary
#B78FF2
secondary
#E8F4D7
accent
#DB0A87
background
#FCFAFF
surface
#F9F5FE
border
#D2CFD6
text
#141017
muted
#827F85

Preview Lab

Preview with #B78FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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