#B792EF#B792EF

#B792EF is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.0% C 0.136 H 301.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B792EF
RGBrgb(183, 146, 239)
HSLhsl(264, 74%, 75%)
HSVhsv(264, 39%, 94%)
CMYKcmyk(23.4%, 38.9%, 0%, 6.3%)
CIE-LABlab(67.17, 32.31, -41.74)
CIE-LCHlch(67.17, 52.79, 307.74°)
OKLaboklab(72.99% 0.071 -0.1161)
OKLCHoklch(72.99% 0.136 301.4)
XYZxyz(45.3839, 36.8570, 86.3678)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792EF #CAEF92
analogous
#929BEF #B792EF #E592EF
triadic
#B792EF #EFB792 #92EFB7
tetradic
#B792EF #EF929B #CAEF92 #92EFE5
square
#B792EF #EF929B #CAEF92 #92EFE5
split-complementary
#B792EF #EFE592 #9BEF92
monochromatic
#7027DF #945DE7 #B792EF #DAC7F7 #EDE4FB

Accessibility & contrast

On white

2.51
#B792EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B792EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B792EF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B792EF#FFFFFF#000000##000000
##B792EF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F3
Deuteranopia (green-blind)
#82A3ED
Tritanopia (blue-blind)
#ADA1B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b792ef;
/* rgb */ color: rgb(183, 146, 239);
/* oklch */ color: oklch(73.0% 0.136 301.4);
Tailwind
colors: {
  custom: {
    50: '#ceb2f4',
    500: '#b792ef',
    950: '#000000',
  },
}
SCSS
$custom: #b792ef;
$custom-light: #ceb2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b792ef",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 263.871,
    "s": 74.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72988,
    "c": 0.13614,
    "h": 301.4
  },
  "luminance": 0.36857
}

Semantic roles & 50–950 ramp

primary
#B792EF
secondary
#E8F3D8
accent
#D70F87
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B792EF

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

Preview Lab → · Contrast checker → · Palette generator →

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