#B294EC#B294EC

#B294EC is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.7% C 0.128 H 298.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B294EC
RGBrgb(178, 148, 236)
HSLhsl(260, 70%, 75%)
HSVhsv(260, 37%, 93%)
CMYKcmyk(24.6%, 37.3%, 0%, 7.5%)
CIE-LABlab(67.05, 29.06, -40.31)
CIE-LCHlch(67.05, 49.70, 305.79°)
OKLaboklab(72.75% 0.0619 -0.1121)
OKLCHoklch(72.75% 0.128 298.9)
XYZxyz(44.0869, 36.7006, 84.1019)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B294EC #CEEC94
analogous
#94A2EC #B294EC #DE94EC
triadic
#B294EC #ECB294 #94ECB2
tetradic
#B294EC #EC94A2 #CEEC94 #94ECDE
square
#B294EC #EC94A2 #CEEC94 #94ECDE
split-complementary
#B294EC #ECDE94 #A2EC94
monochromatic
#672CDA #8D60E3 #B294EC #D7C8F5 #ECE5FA

Accessibility & contrast

On white

2.52
#B294EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B294EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B294EC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B294EC#FFFFFF#000000##000000
##B294EC1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#83A2EA
Tritanopia (blue-blind)
#A7A3B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b294ec;
/* rgb */ color: rgb(178, 148, 236);
/* oklch */ color: oklch(72.7% 0.128 298.9);
Tailwind
colors: {
  custom: {
    50: '#cab3f2',
    500: '#b294ec',
    950: '#000000',
  },
}
SCSS
$custom: #b294ec;
$custom-light: #cab3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b294ec",
  "rgb": {
    "r": 178,
    "g": 148,
    "b": 236
  },
  "hsl": {
    "h": 260.455,
    "s": 69.841,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72748,
    "c": 0.12806,
    "h": 298.9
  },
  "luminance": 0.36701
}

Semantic roles & 50–950 ramp

primary
#B294EC
secondary
#E9F2D9
accent
#D21491
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B294EC

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

Preview Lab → · Contrast checker → · Palette generator →

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