#B078FC#B078FC

#B078FC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.191 H 301.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B078FC
RGBrgb(176, 120, 252)
HSLhsl(265, 96%, 73%)
HSVhsv(265, 52%, 99%)
CMYKcmyk(30.2%, 52.4%, 0%, 1.2%)
CIE-LABlab(61.39, 47.84, -58.08)
CIE-LCHlch(61.39, 75.24, 309.48°)
OKLaboklab(68.71% 0.0988 -0.1638)
OKLCHoklch(68.71% 0.191 301.1)
XYZxyz(42.1876, 29.6912, 95.5850)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B078FC #C4FC78
analogous
#7882FC #B078FC #F278FC
triadic
#B078FC #FCB078 #78FCB0
tetradic
#B078FC #FC7882 #C4FC78 #78FCF2
square
#B078FC #FC7882 #C4FC78 #78FCF2
split-complementary
#B078FC #FCF278 #82FC78
monochromatic
#6B05F4 #8D3CFB #B078FC #D3B4FD #EDE1FE

Accessibility & contrast

On white

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

On black

6.94
#B078FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B078FC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B078FC#FFFFFF#000000##000000
##B078FC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#A191AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b078fc;
/* rgb */ color: rgb(176, 120, 252);
/* oklch */ color: oklch(68.7% 0.191 301.1);
Tailwind
colors: {
  custom: {
    50: '#cba0fe',
    500: '#b078fc',
    950: '#000000',
  },
}
SCSS
$custom: #b078fc;
$custom-light: #cba0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b078fc",
  "rgb": {
    "r": 176,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 265.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68708,
    "c": 0.19132,
    "h": 301.1
  },
  "luminance": 0.29691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B078FC

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

Preview Lab → · Contrast checker → · Palette generator →

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