#B792FF#B792FF

#B792FF is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.8% C 0.157 H 298.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B792FF
RGBrgb(183, 146, 255)
HSLhsl(260, 100%, 79%)
HSVhsv(260, 43%, 100%)
CMYKcmyk(28.2%, 42.7%, 0%, 0%)
CIE-LABlab(67.91, 36.10, -49.33)
CIE-LCHlch(67.91, 61.13, 306.20°)
OKLaboklab(73.79% 0.0738 -0.1381)
OKLCHoklch(73.79% 0.157 298.1)
XYZxyz(47.8531, 37.8446, 99.3720)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792FF #DAFF92
analogous
#92A3FF #B792FF #ED92FF
triadic
#B792FF #FFB792 #92FFB7
tetradic
#B792FF #FF92A3 #DAFF92 #92FFED
square
#B792FF #FF92A3 #DAFF92 #92FFED
split-complementary
#B792FF #FFED92 #A3FF92
monochromatic
#6618FF #8F55FF #B792FF #DFCFFF #EBE0FF

Accessibility & contrast

On white

2.45
#B792FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B792FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B792FF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B792FF#FFFFFF#000000##000000
##B792FF1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A6FF
Deuteranopia (green-blind)
#7AA4FC
Tritanopia (blue-blind)
#A8A5BC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b792ff;
/* rgb */ color: rgb(183, 146, 255);
/* oklch */ color: oklch(73.8% 0.157 298.1);
Tailwind
colors: {
  custom: {
    50: '#cfb2ff',
    500: '#b792ff',
    950: '#000000',
  },
}
SCSS
$custom: #b792ff;
$custom-light: #cfb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b792ff",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 255
  },
  "hsl": {
    "h": 260.367,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73786,
    "c": 0.15664,
    "h": 298.1
  },
  "luminance": 0.37845
}

Semantic roles & 50–950 ramp

primary
#B792FF
secondary
#EBF7D4
accent
#E60098
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B792FF

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

Preview Lab → · Contrast checker → · Palette generator →

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