#B794EF#B794EF

#B794EF is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.3% C 0.133 H 300.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B794EF
RGBrgb(183, 148, 239)
HSLhsl(263, 74%, 76%)
HSVhsv(263, 38%, 94%)
CMYKcmyk(23.4%, 38.1%, 0%, 6.3%)
CIE-LABlab(67.63, 31.20, -41.01)
CIE-LCHlch(67.63, 51.53, 307.26°)
OKLaboklab(73.34% 0.0682 -0.114)
OKLCHoklch(73.34% 0.133 300.9)
XYZxyz(45.6949, 37.4790, 86.4714)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B794EF #CCEF94
analogous
#949EEF #B794EF #E494EF
triadic
#B794EF #EFB794 #94EFB7
tetradic
#B794EF #EF949E #CCEF94 #94EFE4
square
#B794EF #EF949E #CCEF94 #94EFE4
split-complementary
#B794EF #EFE494 #9EEF94
monochromatic
#6F2ADF #935FE7 #B794EF #DBC9F7 #EDE4FB

Accessibility & contrast

On white

2.47
#B794EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B794EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B794EF
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B794EF#FFFFFF#000000##000000
##B794EF1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F2
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#ADA3B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b794ef;
/* rgb */ color: rgb(183, 148, 239);
/* oklch */ color: oklch(73.3% 0.133 300.9);
Tailwind
colors: {
  custom: {
    50: '#ceb3f4',
    500: '#b794ef',
    950: '#000000',
  },
}
SCSS
$custom: #b794ef;
$custom-light: #ceb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b794ef",
  "rgb": {
    "r": 183,
    "g": 148,
    "b": 239
  },
  "hsl": {
    "h": 263.077,
    "s": 73.984,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73341,
    "c": 0.13291,
    "h": 300.9
  },
  "luminance": 0.37479
}

Semantic roles & 50–950 ramp

primary
#B794EF
secondary
#E9F3D8
accent
#D60F8A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B794EF

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

Preview Lab → · Contrast checker → · Palette generator →

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