#B772F8#B772F8

#B772F8 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.3% C 0.197 H 305.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B772F8
RGBrgb(183, 114, 248)
HSLhsl(271, 91%, 71%)
HSVhsv(271, 54%, 97%)
CMYKcmyk(26.2%, 54%, 0%, 2.7%)
CIE-LABlab(60.68, 51.80, -56.96)
CIE-LCHlch(60.68, 77.00, 312.28°)
OKLaboklab(68.28% 0.1147 -0.1604)
OKLCHoklch(68.28% 0.197 305.6)
XYZxyz(42.4854, 28.8795, 92.1248)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772F8 #B3F872
analogous
#7472F8 #B772F8 #F872F6
triadic
#B772F8 #F8B772 #72F8B7
tetradic
#B772F8 #F87472 #B3F872 #72F6F8
square
#B772F8 #F87472 #B3F872 #72F6F8
split-complementary
#B772F8 #F6F872 #72F874
monochromatic
#7B0BE4 #9938F5 #B772F8 #D5ACFB #F0E2FE

Accessibility & contrast

On white

3.10
#B772F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B772F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772F8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772F8#FFFFFF#000000##000000
##B772F81.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#AC8BAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b772f8;
/* rgb */ color: rgb(183, 114, 248);
/* oklch */ color: oklch(68.3% 0.197 305.6);
Tailwind
colors: {
  custom: {
    50: '#d09dfb',
    500: '#b772f8',
    950: '#000000',
  },
}
SCSS
$custom: #b772f8;
$custom-light: #d09dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b772f8",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 270.896,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68278,
    "c": 0.19717,
    "h": 305.6
  },
  "luminance": 0.28879
}

Semantic roles & 50–950 ramp

primary
#B772F8
secondary
#E2F5D1
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B772F8

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

Preview Lab → · Contrast checker → · Palette generator →

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