#B77DEC#B77DEC

#B77DEC is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.166 H 306.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B77DEC
RGBrgb(183, 125, 236)
HSLhsl(271, 74%, 71%)
HSVhsv(271, 47%, 93%)
CMYKcmyk(22.5%, 47%, 0%, 7.5%)
CIE-LABlab(62.33, 43.20, -47.70)
CIE-LCHlch(62.33, 64.36, 312.17°)
OKLaboklab(69.3% 0.0993 -0.1333)
OKLCHoklch(69.3% 0.166 306.7)
XYZxyz(41.9993, 30.7910, 83.0713)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B77DEC #B2EC7D
analogous
#7F7DEC #B77DEC #EC7DEA
triadic
#B77DEC #ECB77D #7DECB7
tetradic
#B77DEC #EC7F7D #B2EC7D #7DEAEC
square
#B77DEC #EC7F7D #B2EC7D #7DEAEC
split-complementary
#B77DEC #EAEC7D #7DEC7F
monochromatic
#7B1ED0 #9948E4 #B77DEC #D5B2F4 #F0E4FB

Accessibility & contrast

On white

2.93
#B77DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#B77DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B77DEC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B77DEC#FFFFFF#000000##000000
##B77DEC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#AF90A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b77dec;
/* rgb */ color: rgb(183, 125, 236);
/* oklch */ color: oklch(69.3% 0.166 306.7);
Tailwind
colors: {
  custom: {
    50: '#cfa4f2',
    500: '#b77dec',
    950: '#000000',
  },
}
SCSS
$custom: #b77dec;
$custom-light: #cfa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b77dec",
  "rgb": {
    "r": 183,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 271.351,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69303,
    "c": 0.16627,
    "h": 306.7
  },
  "luminance": 0.30791
}

Semantic roles & 50–950 ramp

primary
#B77DEC
secondary
#E2F1D3
accent
#D70F6E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B77DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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