#B772F7#B772F7

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

Color values

HEX#B772F7
RGBrgb(183, 114, 247)
HSLhsl(271, 89%, 71%)
HSVhsv(271, 54%, 97%)
CMYKcmyk(25.9%, 53.8%, 0%, 3.1%)
CIE-LABlab(60.62, 51.58, -56.50)
CIE-LCHlch(60.62, 76.50, 312.39°)
OKLaboklab(68.22% 0.1147 -0.159)
OKLCHoklch(68.22% 0.196 305.8)
XYZxyz(42.3307, 28.8176, 91.3100)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772F7 #B2F772
analogous
#7472F7 #B772F7 #F772F4
triadic
#B772F7 #F7B772 #72F7B7
tetradic
#B772F7 #F77472 #B2F772 #72F4F7
square
#B772F7 #F77472 #B2F772 #72F4F7
split-complementary
#B772F7 #F4F772 #72F774
monochromatic
#7B0DE2 #9938F4 #B772F7 #D5ACFA #F0E2FD

Accessibility & contrast

On white

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

On black

6.76
#B772F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772F7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772F7#FFFFFF#000000##000000
##B772F71.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#AD8BAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b772f7;
/* rgb */ color: rgb(183, 114, 247);
/* oklch */ color: oklch(68.2% 0.196 305.8);
Tailwind
colors: {
  custom: {
    50: '#d09dfa',
    500: '#b772f7',
    950: '#000000',
  },
}
SCSS
$custom: #b772f7;
$custom-light: #d09dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b772f7",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 271.128,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6822,
    "c": 0.19604,
    "h": 305.8
  },
  "luminance": 0.28817
}

Semantic roles & 50–950 ramp

primary
#B772F7
secondary
#E2F4D1
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B772F7

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

Preview Lab → · Contrast checker → · Palette generator →

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