#B794E8#B794E8

#B794E8 is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.0% C 0.124 H 302.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B794E8
RGBrgb(183, 148, 232)
HSLhsl(265, 65%, 75%)
HSVhsv(265, 36%, 91%)
CMYKcmyk(21.1%, 36.2%, 0%, 9%)
CIE-LABlab(67.33, 29.58, -37.64)
CIE-LCHlch(67.33, 47.88, 308.17°)
OKLaboklab(73.01% 0.0668 -0.1043)
OKLCHoklch(73.01% 0.124 302.6)
XYZxyz(44.6808, 37.0733, 81.1303)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B794E8 #C5E894
analogous
#949BE8 #B794E8 #E194E8
triadic
#B794E8 #E8B794 #94E8B7
tetradic
#B794E8 #E8949B #C5E894 #94E8E1
square
#B794E8 #E8949B #C5E894 #94E8E1
split-complementary
#B794E8 #E8E194 #9BE894
monochromatic
#732FD2 #9562DD #B794E8 #D9C6F3 #EEE6FA

Accessibility & contrast

On white

2.50
#B794E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B794E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B794E8
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B794E8#FFFFFF#000000##000000
##B794E81.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A3EB
Deuteranopia (green-blind)
#88A4E6
Tritanopia (blue-blind)
#AFA1B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b794e8;
/* rgb */ color: rgb(183, 148, 232);
/* oklch */ color: oklch(73.0% 0.124 302.6);
Tailwind
colors: {
  custom: {
    50: '#ceb3ef',
    500: '#b794e8',
    950: '#000000',
  },
}
SCSS
$custom: #b794e8;
$custom-light: #ceb3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b794e8",
  "rgb": {
    "r": 183,
    "g": 148,
    "b": 232
  },
  "hsl": {
    "h": 265,
    "s": 64.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73012,
    "c": 0.12387,
    "h": 302.6
  },
  "luminance": 0.37073
}

Semantic roles & 50–950 ramp

primary
#B794E8
secondary
#E7F1DA
accent
#CC1982
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B794E8

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

Preview Lab → · Contrast checker → · Palette generator →

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