#B294E8#B294E8

#B294E8 is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.6% C 0.123 H 299.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B294E8
RGBrgb(178, 148, 232)
HSLhsl(261, 65%, 75%)
HSVhsv(261, 36%, 91%)
CMYKcmyk(23.3%, 36.2%, 0%, 9%)
CIE-LABlab(66.88, 28.12, -38.38)
CIE-LCHlch(66.88, 47.58, 306.23°)
OKLaboklab(72.56% 0.061 -0.1066)
OKLCHoklch(72.56% 0.123 299.8)
XYZxyz(43.5122, 36.4708, 81.0755)
Luminance0.3647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B294E8 #CAE894
analogous
#94A0E8 #B294E8 #DC94E8
triadic
#B294E8 #E8B294 #94E8B2
tetradic
#B294E8 #E894A0 #CAE894 #94E8DC
square
#B294E8 #E894A0 #CAE894 #94E8DC
split-complementary
#B294E8 #E8DC94 #A0E894
monochromatic
#6A2FD2 #8E62DD #B294E8 #D6C6F3 #EDE6FA

Accessibility & contrast

On white

2.53
#B294E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B294E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B294E8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B294E8#FFFFFF#000000##000000
##B294E81.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A3EB
Deuteranopia (green-blind)
#85A2E6
Tritanopia (blue-blind)
#A8A2B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b294e8;
/* rgb */ color: rgb(178, 148, 232);
/* oklch */ color: oklch(72.6% 0.123 299.8);
Tailwind
colors: {
  custom: {
    50: '#cab3ef',
    500: '#b294e8',
    950: '#000000',
  },
}
SCSS
$custom: #b294e8;
$custom-light: #cab3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b294e8",
  "rgb": {
    "r": 178,
    "g": 148,
    "b": 232
  },
  "hsl": {
    "h": 261.429,
    "s": 64.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72559,
    "c": 0.12279,
    "h": 299.8
  },
  "luminance": 0.36471
}

Semantic roles & 50–950 ramp

primary
#B294E8
secondary
#E9F1DA
accent
#CC198C
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B294E8

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

Preview Lab → · Contrast checker → · Palette generator →

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