#B772EE#B772EE

#B772EE is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.186 H 307.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B772EE
RGBrgb(183, 114, 238)
HSLhsl(273, 78%, 69%)
HSVhsv(273, 52%, 93%)
CMYKcmyk(23.1%, 52.1%, 0%, 6.7%)
CIE-LABlab(60.14, 49.54, -52.28)
CIE-LCHlch(60.14, 72.03, 313.46°)
OKLaboklab(67.71% 0.1141 -0.1467)
OKLCHoklch(67.71% 0.186 307.9)
XYZxyz(40.9753, 28.2755, 84.1715)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772EE #A9EE72
analogous
#7972EE #B772EE #EE72E7
triadic
#B772EE #EEB772 #72EEB7
tetradic
#B772EE #EE7972 #A9EE72 #72E7EE
square
#B772EE #EE7972 #A9EE72 #72E7EE
split-complementary
#B772EE #E7EE72 #72EE79
monochromatic
#7D19CD #9B3BE7 #B772EE #D3A9F5 #EFDFFB

Accessibility & contrast

On white

3.16
#B772EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B772EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772EE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772EE#FFFFFF#000000##000000
##B772EE1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF2
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#AF88A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b772ee;
/* rgb */ color: rgb(183, 114, 238);
/* oklch */ color: oklch(67.7% 0.186 307.9);
Tailwind
colors: {
  custom: {
    50: '#cf9df4',
    500: '#b772ee',
    950: '#000000',
  },
}
SCSS
$custom: #b772ee;
$custom-light: #cf9df4;
$custom-dark: #000000;
JSON
{
  "hex": "#b772ee",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 273.387,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67707,
    "c": 0.18585,
    "h": 307.9
  },
  "luminance": 0.28275
}

Semantic roles & 50–950 ramp

primary
#B772EE
secondary
#DCF0CC
accent
#DB0B67
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B772EE

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

Preview Lab → · Contrast checker → · Palette generator →

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