#B792FA#B792FA

#B792FA is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.5% C 0.150 H 299.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B792FA
RGBrgb(183, 146, 250)
HSLhsl(261, 91%, 78%)
HSVhsv(261, 42%, 98%)
CMYKcmyk(26.8%, 41.6%, 0%, 2%)
CIE-LABlab(67.67, 34.90, -46.98)
CIE-LCHlch(67.67, 58.52, 306.61°)
OKLaboklab(73.53% 0.073 -0.1313)
OKLCHoklch(73.53% 0.15 299.1)
XYZxyz(47.0587, 37.5269, 95.1881)
Luminance0.3753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792FA #D5FA92
analogous
#92A1FA #B792FA #EB92FA
triadic
#B792FA #FAB792 #92FAB7
tetradic
#B792FA #FA92A1 #D5FA92 #92FAEB
square
#B792FA #FA92A1 #D5FA92 #92FAEB
split-complementary
#B792FA #FAEB92 #A1FA92
monochromatic
#6A1DF5 #9057F7 #B792FA #DECDFD #ECE2FE

Accessibility & contrast

On white

2.47
#B792FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B792FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B792FA
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B792FA#FFFFFF#000000##000000
##B792FA1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#AAA4BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b792fa;
/* rgb */ color: rgb(183, 146, 250);
/* oklch */ color: oklch(73.5% 0.150 299.1);
Tailwind
colors: {
  custom: {
    50: '#cfb2fc',
    500: '#b792fa',
    950: '#000000',
  },
}
SCSS
$custom: #b792fa;
$custom-light: #cfb2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b792fa",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 250
  },
  "hsl": {
    "h": 261.346,
    "s": 91.228,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73531,
    "c": 0.15024,
    "h": 299.1
  },
  "luminance": 0.37527
}

Semantic roles & 50–950 ramp

primary
#B792FA
secondary
#EAF6D5
accent
#E60094
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B792FA

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

Preview Lab → · Contrast checker → · Palette generator →

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