#B772EF#B772EF

#B772EF is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.8% C 0.187 H 307.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B772EF
RGBrgb(183, 114, 239)
HSLhsl(273, 80%, 69%)
HSVhsv(273, 52%, 94%)
CMYKcmyk(23.4%, 52.3%, 0%, 6.3%)
CIE-LABlab(60.19, 49.76, -52.76)
CIE-LCHlch(60.19, 72.52, 313.33°)
OKLaboklab(67.76% 0.1142 -0.148)
OKLCHoklch(67.76% 0.187 307.6)
XYZxyz(41.1226, 28.3344, 84.9473)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772EF #AAEF72
analogous
#7972EF #B772EF #EF72E9
triadic
#B772EF #EFB772 #72EFB7
tetradic
#B772EF #EF7972 #AAEF72 #72E9EF
square
#B772EF #EF7972 #AAEF72 #72E9EF
split-complementary
#B772EF #E9EF72 #72EF79
monochromatic
#7D18CF #9B3BE9 #B772EF #D3A9F5 #EFE0FB

Accessibility & contrast

On white

3.15
#B772EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B772EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772EF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772EF#FFFFFF#000000##000000
##B772EF1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#AF88A6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b772ef;
/* rgb */ color: rgb(183, 114, 239);
/* oklch */ color: oklch(67.8% 0.187 307.6);
Tailwind
colors: {
  custom: {
    50: '#cf9df5',
    500: '#b772ef',
    950: '#000000',
  },
}
SCSS
$custom: #b772ef;
$custom-light: #cf9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#b772ef",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 273.12,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67763,
    "c": 0.18698,
    "h": 307.6
  },
  "luminance": 0.28334
}

Semantic roles & 50–950 ramp

primary
#B772EF
secondary
#DDF1CC
accent
#DC0A68
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B772EF

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

Preview Lab → · Contrast checker → · Palette generator →

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