#B792F5#B792F5

#B792F5 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.3% C 0.144 H 300.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B792F5
RGBrgb(183, 146, 245)
HSLhsl(262, 83%, 77%)
HSVhsv(262, 40%, 96%)
CMYKcmyk(25.3%, 40.4%, 0%, 3.9%)
CIE-LABlab(67.44, 33.72, -44.61)
CIE-LCHlch(67.44, 55.92, 307.09°)
OKLaboklab(73.28% 0.0721 -0.1244)
OKLCHoklch(73.28% 0.144 300.1)
XYZxyz(46.2850, 37.2174, 91.1137)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792F5 #D0F592
analogous
#929FF5 #B792F5 #E892F5
triadic
#B792F5 #F5B792 #92F5B7
tetradic
#B792F5 #F5929F #D0F592 #92F5E8
square
#B792F5 #F5929F #D0F592 #92F5E8
split-complementary
#B792F5 #F5E892 #9FF592
monochromatic
#6D22EB #925AF0 #B792F5 #DCCAFA #ECE3FC

Accessibility & contrast

On white

2.49
#B792F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B792F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B792F5
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B792F5#FFFFFF#000000##000000
##B792F51.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4F9
Deuteranopia (green-blind)
#7FA4F2
Tritanopia (blue-blind)
#ABA3B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b792f5;
/* rgb */ color: rgb(183, 146, 245);
/* oklch */ color: oklch(73.3% 0.144 300.1);
Tailwind
colors: {
  custom: {
    50: '#ceb2f9',
    500: '#b792f5',
    950: '#000000',
  },
}
SCSS
$custom: #b792f5;
$custom-light: #ceb2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b792f5",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 245
  },
  "hsl": {
    "h": 262.424,
    "s": 83.193,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73281,
    "c": 0.14384,
    "h": 300.1
  },
  "luminance": 0.37218
}

Semantic roles & 50–950 ramp

primary
#B792F5
secondary
#E9F4D7
accent
#E0068E
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B792F5

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

Preview Lab → · Contrast checker → · Palette generator →

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