#B794E9#B794E9

#B794E9 is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.1% C 0.125 H 302.4°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#B794E9
RGBrgb(183, 148, 233)
HSLhsl(265, 66%, 75%)
HSVhsv(265, 36%, 91%)
CMYKcmyk(21.5%, 36.5%, 0%, 8.6%)
CIE-LABlab(67.37, 29.81, -38.12)
CIE-LCHlch(67.37, 48.40, 308.03°)
OKLaboklab(73.06% 0.067 -0.1057)
OKLCHoklch(73.06% 0.125 302.4)
XYZxyz(44.8232, 37.1303, 81.8805)
Luminance0.3713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B794E9 #C6E994
analogous
#949CE9 #B794E9 #E294E9
triadic
#B794E9 #E9B794 #94E9B7
tetradic
#B794E9 #E9949C #C6E994 #94E9E2
square
#B794E9 #E9949C #C6E994 #94E9E2
split-complementary
#B794E9 #E9E294 #9CE994
monochromatic
#732ED4 #9561DF #B794E9 #D9C7F3 #EEE6FA

Accessibility & contrast

On white

2.49
#B794E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#B794E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B794E9
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B794E9#FFFFFF#000000##000000
##B794E91.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A3EC
Deuteranopia (green-blind)
#87A4E7
Tritanopia (blue-blind)
#AFA1B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b794e9;
/* rgb */ color: rgb(183, 148, 233);
/* oklch */ color: oklch(73.1% 0.125 302.4);
Tailwind
colors: {
  custom: {
    50: '#ceb3f0',
    500: '#b794e9',
    950: '#000000',
  },
}
SCSS
$custom: #b794e9;
$custom-light: #ceb3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b794e9",
  "rgb": {
    "r": 183,
    "g": 148,
    "b": 233
  },
  "hsl": {
    "h": 264.706,
    "s": 65.891,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73058,
    "c": 0.12516,
    "h": 302.4
  },
  "luminance": 0.3713
}

Semantic roles & 50–950 ramp

primary
#B794E9
secondary
#E8F1DA
accent
#CE1883
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B794E9

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

Preview Lab → · Contrast checker → · Palette generator →

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