#B772EB#B772EB

#B772EB is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.5% C 0.182 H 308.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B772EB
RGBrgb(183, 114, 235)
HSLhsl(274, 75%, 68%)
HSVhsv(274, 51%, 92%)
CMYKcmyk(22.1%, 51.5%, 0%, 7.8%)
CIE-LABlab(59.98, 48.87, -50.87)
CIE-LCHlch(59.98, 70.54, 313.85°)
OKLaboklab(67.54% 0.1139 -0.1425)
OKLCHoklch(67.54% 0.182 308.6)
XYZxyz(40.5382, 28.1006, 81.8696)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772EB #A6EB72
analogous
#7A72EB #B772EB #EB72E2
triadic
#B772EB #EBB772 #72EBB7
tetradic
#B772EB #EB7A72 #A6EB72 #72E2EB
square
#B772EB #EB7A72 #A6EB72 #72E2EB
split-complementary
#B772EB #E2EB72 #72EB7A
monochromatic
#7D1CC6 #9C3CE3 #B772EB #D2A8F3 #EEDDFA

Accessibility & contrast

On white

3.17
#B772EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B772EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772EB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772EB#FFFFFF#000000##000000
##B772EB1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EEF
Deuteranopia (green-blind)
#6591E8
Tritanopia (blue-blind)
#B087A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b772eb;
/* rgb */ color: rgb(183, 114, 235);
/* oklch */ color: oklch(67.5% 0.182 308.6);
Tailwind
colors: {
  custom: {
    50: '#cf9df2',
    500: '#b772eb',
    950: '#000000',
  },
}
SCSS
$custom: #b772eb;
$custom-light: #cf9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#b772eb",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 274.215,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67539,
    "c": 0.18246,
    "h": 308.6
  },
  "luminance": 0.281
}

Semantic roles & 50–950 ramp

primary
#B772EB
secondary
#DAEFCA
accent
#D70E65
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B772EB

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

Preview Lab → · Contrast checker → · Palette generator →

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