#B294E7#B294E7

#B294E7 is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.5% C 0.121 H 300.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B294E7
RGBrgb(178, 148, 231)
HSLhsl(262, 63%, 74%)
HSVhsv(262, 36%, 91%)
CMYKcmyk(22.9%, 35.9%, 0%, 9.4%)
CIE-LABlab(66.84, 27.89, -37.90)
CIE-LCHlch(66.84, 47.05, 306.35°)
OKLaboklab(72.51% 0.0608 -0.1052)
OKLCHoklch(72.51% 0.121 300)
XYZxyz(43.3706, 36.4141, 80.3295)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B294E7 #C9E794
analogous
#94A0E7 #B294E7 #DC94E7
triadic
#B294E7 #E7B294 #94E7B2
tetradic
#B294E7 #E794A0 #C9E794 #94E7DC
square
#B294E7 #E794A0 #C9E794 #94E7DC
split-complementary
#B294E7 #E7DC94 #A0E794
monochromatic
#6A30D1 #8E62DC #B294E7 #D6C6F2 #EDE6F9

Accessibility & contrast

On white

2.54
#B294E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B294E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B294E7
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B294E7#FFFFFF#000000##000000
##B294E71.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A2EA
Deuteranopia (green-blind)
#85A2E5
Tritanopia (blue-blind)
#A8A1B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b294e7;
/* rgb */ color: rgb(178, 148, 231);
/* oklch */ color: oklch(72.5% 0.121 300.0);
Tailwind
colors: {
  custom: {
    50: '#cab3ef',
    500: '#b294e7',
    950: '#000000',
  },
}
SCSS
$custom: #b294e7;
$custom-light: #cab3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b294e7",
  "rgb": {
    "r": 178,
    "g": 148,
    "b": 231
  },
  "hsl": {
    "h": 261.687,
    "s": 63.359,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72512,
    "c": 0.12147,
    "h": 300
  },
  "luminance": 0.36414
}

Semantic roles & 50–950 ramp

primary
#B294E7
secondary
#E9F1DA
accent
#CB1A8B
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B294E7

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

Preview Lab → · Contrast checker → · Palette generator →

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