#B294F2#B294F2

#B294F2 is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.0% C 0.136 H 297.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B294F2
RGBrgb(178, 148, 242)
HSLhsl(259, 78%, 76%)
HSVhsv(259, 39%, 95%)
CMYKcmyk(26.4%, 38.8%, 0%, 5.1%)
CIE-LABlab(67.32, 30.49, -43.19)
CIE-LCHlch(67.32, 52.86, 305.22°)
OKLaboklab(73.04% 0.0631 -0.1204)
OKLCHoklch(73.04% 0.136 297.6)
XYZxyz(44.9733, 37.0552, 88.7702)
Luminance0.3706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B294F2 #D4F294
analogous
#94A5F2 #B294F2 #E194F2
triadic
#B294F2 #F2B294 #94F2B2
tetradic
#B294F2 #F294A5 #D4F294 #94F2E1
square
#B294F2 #F294A5 #D4F294 #94F2E1
split-complementary
#B294F2 #F2E194 #A5F294
monochromatic
#6327E5 #8B5DEB #B294F2 #D9CBF9 #EBE4FC

Accessibility & contrast

On white

2.50
#B294F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B294F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B294F2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B294F2#FFFFFF#000000##000000
##B294F21.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#80A3F0
Tritanopia (blue-blind)
#A5A4B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b294f2;
/* rgb */ color: rgb(178, 148, 242);
/* oklch */ color: oklch(73.0% 0.136 297.6);
Tailwind
colors: {
  custom: {
    50: '#cbb3f6',
    500: '#b294f2',
    950: '#000000',
  },
}
SCSS
$custom: #b294f2;
$custom-light: #cbb3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b294f2",
  "rgb": {
    "r": 178,
    "g": 148,
    "b": 242
  },
  "hsl": {
    "h": 259.149,
    "s": 78.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73038,
    "c": 0.13594,
    "h": 297.6
  },
  "luminance": 0.37056
}

Semantic roles & 50–950 ramp

primary
#B294F2
secondary
#EBF3D8
accent
#DB0B98
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #B294F2

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

Preview Lab → · Contrast checker → · Palette generator →

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