#B294E2#B294E2

#B294E2 is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.3% C 0.115 H 301.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B294E2
RGBrgb(178, 148, 226)
HSLhsl(263, 57%, 73%)
HSVhsv(263, 35%, 89%)
CMYKcmyk(21.2%, 34.5%, 0%, 11.4%)
CIE-LABlab(66.62, 26.73, -35.47)
CIE-LCHlch(66.62, 44.42, 307.00°)
OKLaboklab(72.28% 0.0596 -0.0982)
OKLCHoklch(72.28% 0.115 301.3)
XYZxyz(42.6745, 36.1357, 76.6634)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B294E2 #C4E294
analogous
#949DE2 #B294E2 #D994E2
triadic
#B294E2 #E2B294 #94E2B2
tetradic
#B294E2 #E2949D #C4E294 #94E2D9
square
#B294E2 #E2949D #C4E294 #94E2D9
split-complementary
#B294E2 #E2D994 #9DE294
monochromatic
#6D36C6 #8F64D5 #B294E2 #D5C4EF #EEE7F8

Accessibility & contrast

On white

2.55
#B294E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B294E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B294E2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B294E2#FFFFFF#000000##000000
##B294E21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A2E5
Deuteranopia (green-blind)
#88A2E0
Tritanopia (blue-blind)
#AAA0B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b294e2;
/* rgb */ color: rgb(178, 148, 226);
/* oklch */ color: oklch(72.3% 0.115 301.3);
Tailwind
colors: {
  custom: {
    50: '#cab3eb',
    500: '#b294e2',
    950: '#000000',
  },
}
SCSS
$custom: #b294e2;
$custom-light: #cab3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b294e2",
  "rgb": {
    "r": 178,
    "g": 148,
    "b": 226
  },
  "hsl": {
    "h": 263.077,
    "s": 57.353,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72281,
    "c": 0.11489,
    "h": 301.3
  },
  "luminance": 0.36136
}

Semantic roles & 50–950 ramp

primary
#B294E2
secondary
#E8F0DB
accent
#C52186
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B294E2

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

Preview Lab → · Contrast checker → · Palette generator →

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