#B792EB#B792EB

#B792EB is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.8% C 0.131 H 302.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B792EB
RGBrgb(183, 146, 235)
HSLhsl(265, 69%, 75%)
HSVhsv(265, 38%, 92%)
CMYKcmyk(22.1%, 37.9%, 0%, 7.8%)
CIE-LABlab(66.99, 31.39, -39.82)
CIE-LCHlch(66.99, 50.70, 308.25°)
OKLaboklab(72.8% 0.0702 -0.1106)
OKLCHoklch(72.8% 0.131 302.4)
XYZxyz(44.7995, 36.6232, 83.2900)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792EB #C6EB92
analogous
#929AEB #B792EB #E492EB
triadic
#B792EB #EBB792 #92EBB7
tetradic
#B792EB #EB929A #C6EB92 #92EBE4
square
#B792EB #EB929A #C6EB92 #92EBE4
split-complementary
#B792EB #EBE492 #9AEB92
monochromatic
#732BD8 #955EE2 #B792EB #D9C6F4 #EEE5FA

Accessibility & contrast

On white

2.52
#B792EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B792EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B792EB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B792EB#FFFFFF#000000##000000
##B792EB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2EE
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#AEA0B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b792eb;
/* rgb */ color: rgb(183, 146, 235);
/* oklch */ color: oklch(72.8% 0.131 302.4);
Tailwind
colors: {
  custom: {
    50: '#ceb2f2',
    500: '#b792eb',
    950: '#000000',
  },
}
SCSS
$custom: #b792eb;
$custom-light: #ceb2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b792eb",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 264.944,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.131,
    "h": 302.4
  },
  "luminance": 0.36623
}

Semantic roles & 50–950 ramp

primary
#B792EB
secondary
#E8F2D9
accent
#D11583
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B792EB

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

Preview Lab → · Contrast checker → · Palette generator →

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