#B772F6#B772F6

#B772F6 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.2% C 0.195 H 306.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B772F6
RGBrgb(183, 114, 246)
HSLhsl(271, 88%, 71%)
HSVhsv(271, 54%, 96%)
CMYKcmyk(25.6%, 53.7%, 0%, 3.5%)
CIE-LABlab(60.57, 51.35, -56.03)
CIE-LCHlch(60.57, 76.00, 312.50°)
OKLaboklab(68.16% 0.1146 -0.1576)
OKLCHoklch(68.16% 0.195 306)
XYZxyz(42.1768, 28.7561, 90.4995)
Luminance0.2876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772F6 #B1F672
analogous
#7572F6 #B772F6 #F672F3
triadic
#B772F6 #F6B772 #72F6B7
tetradic
#B772F6 #F67572 #B1F672 #72F3F6
square
#B772F6 #F67572 #B1F672 #72F3F6
split-complementary
#B772F6 #F3F672 #72F675
monochromatic
#7C0EDF #9A38F2 #B772F6 #D4ACFA #F0E2FD

Accessibility & contrast

On white

3.11
#B772F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#B772F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772F6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772F6#FFFFFF#000000##000000
##B772F61.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FA
Deuteranopia (green-blind)
#5D92F3
Tritanopia (blue-blind)
#AD8AA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b772f6;
/* rgb */ color: rgb(183, 114, 246);
/* oklch */ color: oklch(68.2% 0.195 306.0);
Tailwind
colors: {
  custom: {
    50: '#d09dfa',
    500: '#b772f6',
    950: '#000000',
  },
}
SCSS
$custom: #b772f6;
$custom-light: #d09dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b772f6",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 271.364,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68162,
    "c": 0.1949,
    "h": 306
  },
  "luminance": 0.28756
}

Semantic roles & 50–950 ramp

primary
#B772F6
secondary
#E1F4D0
accent
#E5016E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B772F6

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

Preview Lab → · Contrast checker → · Palette generator →

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