#B792ED#B792ED

#B792ED is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.9% C 0.134 H 301.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B792ED
RGBrgb(183, 146, 237)
HSLhsl(264, 72%, 75%)
HSVhsv(264, 38%, 93%)
CMYKcmyk(22.8%, 38.4%, 0%, 7.1%)
CIE-LABlab(67.08, 31.85, -40.78)
CIE-LCHlch(67.08, 51.75, 307.99°)
OKLaboklab(72.89% 0.0706 -0.1134)
OKLCHoklch(72.89% 0.134 301.9)
XYZxyz(45.0901, 36.7394, 84.8203)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792ED #C8ED92
analogous
#929AED #B792ED #E592ED
triadic
#B792ED #EDB792 #92EDB7
tetradic
#B792ED #ED929A #C8ED92 #92EDE5
square
#B792ED #ED929A #C8ED92 #92EDE5
split-complementary
#B792ED #EDE592 #9AED92
monochromatic
#7229DC #945DE4 #B792ED #DAC7F6 #EEE5FB

Accessibility & contrast

On white

2.52
#B792ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B792ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B792ED
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B792ED#FFFFFF#000000##000000
##B792ED1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F0
Deuteranopia (green-blind)
#83A3EB
Tritanopia (blue-blind)
#AEA1B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b792ed;
/* rgb */ color: rgb(183, 146, 237);
/* oklch */ color: oklch(72.9% 0.134 301.9);
Tailwind
colors: {
  custom: {
    50: '#ceb2f3',
    500: '#b792ed',
    950: '#000000',
  },
}
SCSS
$custom: #b792ed;
$custom-light: #ceb2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b792ed",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 237
  },
  "hsl": {
    "h": 264.396,
    "s": 71.654,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72892,
    "c": 0.13357,
    "h": 301.9
  },
  "luminance": 0.36739
}

Semantic roles & 50–950 ramp

primary
#B792ED
secondary
#E8F2D9
accent
#D41285
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B792ED

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

Preview Lab → · Contrast checker → · Palette generator →

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