#B794EA#B794EA

#B794EA is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.1% C 0.126 H 302.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B794EA
RGBrgb(183, 148, 234)
HSLhsl(264, 67%, 75%)
HSVhsv(264, 37%, 92%)
CMYKcmyk(21.8%, 36.8%, 0%, 8.2%)
CIE-LABlab(67.42, 30.04, -38.61)
CIE-LCHlch(67.42, 48.92, 307.89°)
OKLaboklab(73.11% 0.0672 -0.1071)
OKLCHoklch(73.11% 0.126 302.1)
XYZxyz(44.9664, 37.1876, 82.6349)
Luminance0.3719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B794EA #C7EA94
analogous
#949CEA #B794EA #E294EA
triadic
#B794EA #EAB794 #94EAB7
tetradic
#B794EA #EA949C #C7EA94 #94EAE2
square
#B794EA #EA949C #C7EA94 #94EAE2
split-complementary
#B794EA #EAE294 #9CEA94
monochromatic
#722ED6 #9561E0 #B794EA #D9C7F4 #EEE5FA

Accessibility & contrast

On white

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

On black

8.44
#B794EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B794EA
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B794EA#FFFFFF#000000##000000
##B794EA1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A3ED
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#AEA2B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b794ea;
/* rgb */ color: rgb(183, 148, 234);
/* oklch */ color: oklch(73.1% 0.126 302.1);
Tailwind
colors: {
  custom: {
    50: '#ceb3f1',
    500: '#b794ea',
    950: '#000000',
  },
}
SCSS
$custom: #b794ea;
$custom-light: #ceb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b794ea",
  "rgb": {
    "r": 183,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 264.419,
    "s": 67.187,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73105,
    "c": 0.12645,
    "h": 302.1
  },
  "luminance": 0.37188
}

Semantic roles & 50–950 ramp

primary
#B794EA
secondary
#E8F1DA
accent
#CF1684
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B794EA

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

Preview Lab → · Contrast checker → · Palette generator →

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