#B078FD#B078FD

#B078FD is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.193 H 300.9°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B078FD
RGBrgb(176, 120, 253)
HSLhsl(265, 97%, 73%)
HSVhsv(265, 53%, 99%)
CMYKcmyk(30.4%, 52.6%, 0%, 0.8%)
CIE-LABlab(61.44, 48.08, -58.54)
CIE-LCHlch(61.44, 75.75, 309.40°)
OKLaboklab(68.77% 0.0989 -0.1652)
OKLCHoklch(68.77% 0.193 300.9)
XYZxyz(42.3464, 29.7547, 96.4217)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B078FD #C5FD78
analogous
#7882FD #B078FD #F278FD
triadic
#B078FD #FDB078 #78FDB0
tetradic
#B078FD #FD7882 #C5FD78 #78FDF2
square
#B078FD #FD7882 #C5FD78 #78FDF2
split-complementary
#B078FD #FDF278 #82FD78
monochromatic
#6A04F7 #8D3CFC #B078FD #D3B4FE #EDE1FF

Accessibility & contrast

On white

3.02
#B078FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B078FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B078FD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B078FD#FFFFFF#000000##000000
##B078FD1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#5894FA
Tritanopia (blue-blind)
#A192AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b078fd;
/* rgb */ color: rgb(176, 120, 253);
/* oklch */ color: oklch(68.8% 0.193 300.9);
Tailwind
colors: {
  custom: {
    50: '#cba0ff',
    500: '#b078fd',
    950: '#000000',
  },
}
SCSS
$custom: #b078fd;
$custom-light: #cba0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b078fd",
  "rgb": {
    "r": 176,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 265.263,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68766,
    "c": 0.1925,
    "h": 300.9
  },
  "luminance": 0.29755
}

Semantic roles & 50–950 ramp

primary
#B078FD
secondary
#E8F7D4
accent
#E60085
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B078FD

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

Preview Lab → · Contrast checker → · Palette generator →

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