#B294F8#B294F8

#B294F8 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.3% C 0.144 H 296.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B294F8
RGBrgb(178, 148, 248)
HSLhsl(258, 88%, 78%)
HSVhsv(258, 40%, 97%)
CMYKcmyk(28.2%, 40.3%, 0%, 2.7%)
CIE-LABlab(67.59, 31.94, -46.04)
CIE-LCHlch(67.59, 56.03, 304.75°)
OKLaboklab(73.33% 0.0642 -0.1287)
OKLCHoklch(73.33% 0.144 296.5)
XYZxyz(45.8892, 37.4216, 93.5942)
Luminance0.3742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B294F8 #DAF894
analogous
#94A8F8 #B294F8 #E494F8
triadic
#B294F8 #F8B294 #94F8B2
tetradic
#B294F8 #F894A8 #DAF894 #94F8E4
square
#B294F8 #F894A8 #DAF894 #94F8E4
split-complementary
#B294F8 #F8E494 #A8F894
monochromatic
#5F21F0 #895BF4 #B294F8 #DBCDFC #EAE2FD

Accessibility & contrast

On white

2.48
#B294F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B294F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B294F8
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B294F8#FFFFFF#000000##000000
##B294F81.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#7DA3F5
Tritanopia (blue-blind)
#A3A6BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b294f8;
/* rgb */ color: rgb(178, 148, 248);
/* oklch */ color: oklch(73.3% 0.144 296.5);
Tailwind
colors: {
  custom: {
    50: '#cbb3fb',
    500: '#b294f8',
    950: '#000000',
  },
}
SCSS
$custom: #b294f8;
$custom-light: #cbb3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b294f8",
  "rgb": {
    "r": 178,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 258,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73335,
    "c": 0.14382,
    "h": 296.5
  },
  "luminance": 0.37422
}

Semantic roles & 50–950 ramp

primary
#B294F8
secondary
#ECF5D6
accent
#E401A0
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B294F8

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

Preview Lab → · Contrast checker → · Palette generator →

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