#B792EA#B792EA

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

Color values

HEX#B792EA
RGBrgb(183, 146, 234)
HSLhsl(265, 68%, 75%)
HSVhsv(265, 38%, 92%)
CMYKcmyk(21.8%, 37.6%, 0%, 8.2%)
CIE-LABlab(66.95, 31.16, -39.34)
CIE-LCHlch(66.95, 50.18, 308.38°)
OKLaboklab(72.75% 0.07 -0.1092)
OKLCHoklch(72.75% 0.13 302.7)
XYZxyz(44.6554, 36.5656, 82.5313)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792EA #C5EA92
analogous
#9299EA #B792EA #E392EA
triadic
#B792EA #EAB792 #92EAB7
tetradic
#B792EA #EA9299 #C5EA92 #92EAE3
square
#B792EA #EA9299 #C5EA92 #92EAE3
split-complementary
#B792EA #EAE392 #99EA92
monochromatic
#732BD6 #955FE0 #B792EA #D9C5F4 #EEE5FA

Accessibility & contrast

On white

2.53
#B792EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B792EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B792EA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B792EA#FFFFFF#000000##000000
##B792EA1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#AEA0B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b792ea;
/* rgb */ color: rgb(183, 146, 234);
/* oklch */ color: oklch(72.8% 0.130 302.7);
Tailwind
colors: {
  custom: {
    50: '#ceb2f1',
    500: '#b792ea',
    950: '#000000',
  },
}
SCSS
$custom: #b792ea;
$custom-light: #ceb2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b792ea",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 234
  },
  "hsl": {
    "h": 265.227,
    "s": 67.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7275,
    "c": 0.12972,
    "h": 302.7
  },
  "luminance": 0.36566
}

Semantic roles & 50–950 ramp

primary
#B792EA
secondary
#E7F2D9
accent
#D01682
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B792EA

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

Preview Lab → · Contrast checker → · Palette generator →

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