#B772EC#B772EC

#B772EC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.6% C 0.184 H 308.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B772EC
RGBrgb(183, 114, 236)
HSLhsl(274, 76%, 69%)
HSVhsv(274, 52%, 93%)
CMYKcmyk(22.5%, 51.7%, 0%, 7.5%)
CIE-LABlab(60.03, 49.09, -51.34)
CIE-LCHlch(60.03, 71.03, 313.72°)
OKLaboklab(67.6% 0.114 -0.1439)
OKLCHoklch(67.6% 0.184 308.4)
XYZxyz(40.6831, 28.1586, 82.6326)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772EC #A7EC72
analogous
#7A72EC #B772EC #EC72E4
triadic
#B772EC #ECB772 #72ECB7
tetradic
#B772EC #EC7A72 #A7EC72 #72E4EC
square
#B772EC #EC7A72 #A7EC72 #72E4EC
split-complementary
#B772EC #E4EC72 #72EC7A
monochromatic
#7D1BC9 #9B3CE5 #B772EC #D3A8F3 #EEDEFB

Accessibility & contrast

On white

3.17
#B772EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B772EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772EC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772EC#FFFFFF#000000##000000
##B772EC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#B087A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b772ec;
/* rgb */ color: rgb(183, 114, 236);
/* oklch */ color: oklch(67.6% 0.184 308.4);
Tailwind
colors: {
  custom: {
    50: '#cf9df3',
    500: '#b772ec',
    950: '#000000',
  },
}
SCSS
$custom: #b772ec;
$custom-light: #cf9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#b772ec",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 273.934,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67595,
    "c": 0.18359,
    "h": 308.4
  },
  "luminance": 0.28158
}

Semantic roles & 50–950 ramp

primary
#B772EC
secondary
#DBEFCB
accent
#D80D65
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B772EC

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

Preview Lab → · Contrast checker → · Palette generator →

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