#B794FA#B794FA

#B794FA is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.9% C 0.147 H 298.6°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B794FA
RGBrgb(183, 148, 250)
HSLhsl(261, 91%, 78%)
HSVhsv(261, 41%, 98%)
CMYKcmyk(26.8%, 40.8%, 0%, 2%)
CIE-LABlab(68.13, 33.79, -46.25)
CIE-LCHlch(68.13, 57.28, 306.15°)
OKLaboklab(73.88% 0.0703 -0.1292)
OKLCHoklch(73.88% 0.147 298.6)
XYZxyz(47.3697, 38.1489, 95.2918)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B794FA #D7FA94
analogous
#94A4FA #B794FA #EA94FA
triadic
#B794FA #FAB794 #94FAB7
tetradic
#B794FA #FA94A4 #D7FA94 #94FAEA
square
#B794FA #FA94A4 #D7FA94 #94FAEA
split-complementary
#B794FA #FAEA94 #A4FA94
monochromatic
#681FF5 #905AF7 #B794FA #DECEFD #EBE2FE

Accessibility & contrast

On white

2.43
#B794FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B794FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B794FA
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B794FA#FFFFFF#000000##000000
##B794FA1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#AAA6BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b794fa;
/* rgb */ color: rgb(183, 148, 250);
/* oklch */ color: oklch(73.9% 0.147 298.6);
Tailwind
colors: {
  custom: {
    50: '#ceb4fc',
    500: '#b794fa',
    950: '#000000',
  },
}
SCSS
$custom: #b794fa;
$custom-light: #ceb4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b794fa",
  "rgb": {
    "r": 183,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 260.588,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73879,
    "c": 0.14711,
    "h": 298.6
  },
  "luminance": 0.38149
}

Semantic roles & 50–950 ramp

primary
#B794FA
secondary
#EBF6D5
accent
#E60097
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B794FA

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

Preview Lab → · Contrast checker → · Palette generator →

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