#B294F7#B294F7

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

Color values

HEX#B294F7
RGBrgb(178, 148, 247)
HSLhsl(258, 86%, 77%)
HSVhsv(258, 40%, 97%)
CMYKcmyk(27.9%, 40.1%, 0%, 3.1%)
CIE-LABlab(67.55, 31.69, -45.56)
CIE-LCHlch(67.55, 55.50, 304.82°)
OKLaboklab(73.29% 0.064 -0.1273)
OKLCHoklch(73.29% 0.143 296.7)
XYZxyz(45.7345, 37.3597, 92.7793)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B294F7 #D9F794
analogous
#94A7F7 #B294F7 #E494F7
triadic
#B294F7 #F7B294 #94F7B2
tetradic
#B294F7 #F794A7 #D9F794 #94F7E4
square
#B294F7 #F794A7 #D9F794 #94F7E4
split-complementary
#B294F7 #F7E494 #A7F794
monochromatic
#6022EE #895BF3 #B294F7 #DBCDFB #EBE3FD

Accessibility & contrast

On white

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

On black

8.47
#B294F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B294F7
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B294F7#FFFFFF#000000##000000
##B294F71.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FB
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#A4A5BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b294f7;
/* rgb */ color: rgb(178, 148, 247);
/* oklch */ color: oklch(73.3% 0.143 296.7);
Tailwind
colors: {
  custom: {
    50: '#cbb3fa',
    500: '#b294f7',
    950: '#000000',
  },
}
SCSS
$custom: #b294f7;
$custom-light: #cbb3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b294f7",
  "rgb": {
    "r": 178,
    "g": 148,
    "b": 247
  },
  "hsl": {
    "h": 258.182,
    "s": 86.087,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73285,
    "c": 0.14251,
    "h": 296.7
  },
  "luminance": 0.3736
}

Semantic roles & 50–950 ramp

primary
#B294F7
secondary
#ECF5D6
accent
#E3039F
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B294F7

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

Preview Lab → · Contrast checker → · Palette generator →

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