#B772EA#B772EA

#B772EA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.181 H 308.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B772EA
RGBrgb(183, 114, 234)
HSLhsl(275, 74%, 68%)
HSVhsv(275, 51%, 92%)
CMYKcmyk(21.8%, 51.3%, 0%, 8.2%)
CIE-LABlab(59.93, 48.65, -50.39)
CIE-LCHlch(59.93, 70.04, 313.99°)
OKLaboklab(67.48% 0.1138 -0.1412)
OKLCHoklch(67.48% 0.181 308.9)
XYZxyz(40.3942, 28.0430, 81.1108)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772EA #A5EA72
analogous
#7B72EA #B772EA #EA72E1
triadic
#B772EA #EAB772 #72EAB7
tetradic
#B772EA #EA7B72 #A5EA72 #72E1EA
square
#B772EA #EA7B72 #A5EA72 #72E1EA
split-complementary
#B772EA #E1EA72 #72EA7B
monochromatic
#7D1DC4 #9C3DE2 #B772EA #D2A7F2 #EDDDFA

Accessibility & contrast

On white

3.18
#B772EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B772EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772EA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772EA#FFFFFF#000000##000000
##B772EA1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#508DEE
Deuteranopia (green-blind)
#6591E7
Tritanopia (blue-blind)
#B087A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b772ea;
/* rgb */ color: rgb(183, 114, 234);
/* oklch */ color: oklch(67.5% 0.181 308.9);
Tailwind
colors: {
  custom: {
    50: '#cf9df1',
    500: '#b772ea',
    950: '#000000',
  },
}
SCSS
$custom: #b772ea;
$custom-light: #cf9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#b772ea",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 274.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67484,
    "c": 0.18133,
    "h": 308.9
  },
  "luminance": 0.28042
}

Semantic roles & 50–950 ramp

primary
#B772EA
secondary
#D9EECA
accent
#D60F64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B772EA

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

Preview Lab → · Contrast checker → · Palette generator →

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