#B77DFB#B77DFB

#B77DFB is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.1% C 0.184 H 303.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B77DFB
RGBrgb(183, 125, 251)
HSLhsl(268, 94%, 74%)
HSVhsv(268, 50%, 98%)
CMYKcmyk(27.1%, 50.2%, 0%, 1.6%)
CIE-LABlab(63.09, 46.66, -54.76)
CIE-LCHlch(63.09, 71.95, 310.43°)
OKLaboklab(70.12% 0.1009 -0.1539)
OKLCHoklch(70.12% 0.184 303.2)
XYZxyz(44.2708, 31.6996, 95.0344)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B77DFB #C1FB7D
analogous
#7D82FB #B77DFB #F67DFB
triadic
#B77DFB #FBB77D #7DFBB7
tetradic
#B77DFB #FB7D82 #C1FB7D #7DFBF6
square
#B77DFB #FB7D82 #C1FB7D #7DFBF6
split-complementary
#B77DFB #FBF67D #82FB7D
monochromatic
#7508F6 #9642F9 #B77DFB #D8B8FD #EFE1FE

Accessibility & contrast

On white

2.86
#B77DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B77DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B77DFB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B77DFB#FFFFFF#000000##000000
##B77DFB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FF
Deuteranopia (green-blind)
#6599F8
Tritanopia (blue-blind)
#AB94B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b77dfb;
/* rgb */ color: rgb(183, 125, 251);
/* oklch */ color: oklch(70.1% 0.184 303.2);
Tailwind
colors: {
  custom: {
    50: '#cfa4fd',
    500: '#b77dfb',
    950: '#000000',
  },
}
SCSS
$custom: #b77dfb;
$custom-light: #cfa4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b77dfb",
  "rgb": {
    "r": 183,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 267.619,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70119,
    "c": 0.18406,
    "h": 303.2
  },
  "luminance": 0.317
}

Semantic roles & 50–950 ramp

primary
#B77DFB
secondary
#E7F6D5
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B77DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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