#B78EF2#B78EF2

#B78EF2 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.4% C 0.146 H 301.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B78EF2
RGBrgb(183, 142, 242)
HSLhsl(265, 79%, 75%)
HSVhsv(265, 41%, 95%)
CMYKcmyk(24.4%, 41.3%, 0%, 5.1%)
CIE-LABlab(66.39, 35.24, -44.62)
CIE-LCHlch(66.39, 56.85, 308.30°)
OKLaboklab(72.44% 0.0771 -0.1245)
OKLCHoklch(72.44% 0.146 301.8)
XYZxyz(45.2249, 35.8240, 88.5193)
Luminance0.3582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78EF2 #C9F28E
analogous
#8E97F2 #B78EF2 #E98EF2
triadic
#B78EF2 #F2B78E #8EF2B7
tetradic
#B78EF2 #F28E97 #C9F28E #8EF2E9
square
#B78EF2 #F28E97 #C9F28E #8EF2E9
split-complementary
#B78EF2 #F2E98E #97F28E
monochromatic
#7120E5 #9457EC #B78EF2 #DAC5F8 #EEE4FC

Accessibility & contrast

On white

2.57
#B78EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B78EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78EF2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78EF2#FFFFFF#000000##000000
##B78EF21.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#AC9FB4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b78ef2;
/* rgb */ color: rgb(183, 142, 242);
/* oklch */ color: oklch(72.4% 0.146 301.8);
Tailwind
colors: {
  custom: {
    50: '#ceaff7',
    500: '#b78ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b78ef2;
$custom-light: #ceaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b78ef2",
  "rgb": {
    "r": 183,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 264.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7244,
    "c": 0.14639,
    "h": 301.8
  },
  "luminance": 0.35824
}

Semantic roles & 50–950 ramp

primary
#B78EF2
secondary
#E8F4D7
accent
#DC0A86
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B78EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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