#B794F9#B794F9

#B794F9 is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.8% C 0.146 H 298.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B794F9
RGBrgb(183, 148, 249)
HSLhsl(261, 89%, 78%)
HSVhsv(261, 41%, 98%)
CMYKcmyk(26.5%, 40.6%, 0%, 2.4%)
CIE-LABlab(68.08, 33.55, -45.78)
CIE-LCHlch(68.08, 56.76, 306.24°)
OKLaboklab(73.83% 0.0701 -0.1278)
OKLCHoklch(73.83% 0.146 298.8)
XYZxyz(47.2133, 38.0863, 94.4682)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B794F9 #D6F994
analogous
#94A3F9 #B794F9 #E994F9
triadic
#B794F9 #F9B794 #94F9B7
tetradic
#B794F9 #F994A3 #D6F994 #94F9E9
square
#B794F9 #F994A3 #D6F994 #94F9E9
split-complementary
#B794F9 #F9E994 #A3F994
monochromatic
#6920F3 #905AF6 #B794F9 #DECEFC #ECE2FD

Accessibility & contrast

On white

2.44
#B794F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B794F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B794F9
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B794F9#FFFFFF#000000##000000
##B794F91.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#AAA5BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b794f9;
/* rgb */ color: rgb(183, 148, 249);
/* oklch */ color: oklch(73.8% 0.146 298.8);
Tailwind
colors: {
  custom: {
    50: '#ceb4fb',
    500: '#b794f9',
    950: '#000000',
  },
}
SCSS
$custom: #b794f9;
$custom-light: #ceb4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b794f9",
  "rgb": {
    "r": 183,
    "g": 148,
    "b": 249
  },
  "hsl": {
    "h": 260.792,
    "s": 89.381,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73829,
    "c": 0.14582,
    "h": 298.8
  },
  "luminance": 0.38087
}

Semantic roles & 50–950 ramp

primary
#B794F9
secondary
#EAF5D6
accent
#E60096
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B794F9

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

Preview Lab → · Contrast checker → · Palette generator →

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