#B770EB#B770EB

#B770EB is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.186 H 308.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B770EB
RGBrgb(183, 112, 235)
HSLhsl(275, 75%, 68%)
HSVhsv(275, 52%, 92%)
CMYKcmyk(22.1%, 52.3%, 0%, 7.8%)
CIE-LABlab(59.58, 49.92, -51.51)
CIE-LCHlch(59.58, 71.73, 314.10°)
OKLaboklab(67.24% 0.1165 -0.1444)
OKLCHoklch(67.24% 0.186 308.9)
XYZxyz(40.3151, 27.6544, 81.7952)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770EB #A4EB70
analogous
#7970EB #B770EB #EB70E2
triadic
#B770EB #EBB770 #70EBB7
tetradic
#B770EB #EB7970 #A4EB70 #70E2EB
square
#B770EB #EB7970 #A4EB70 #70E2EB
split-complementary
#B770EB #E2EB70 #70EB79
monochromatic
#7D1CC5 #9C3AE3 #B770EB #D2A6F3 #EDDBFA

Accessibility & contrast

On white

3.22
#B770EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B770EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770EB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770EB#FFFFFF#000000##000000
##B770EB1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEF
Deuteranopia (green-blind)
#6390E8
Tritanopia (blue-blind)
#B085A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b770eb;
/* rgb */ color: rgb(183, 112, 235);
/* oklch */ color: oklch(67.2% 0.186 308.9);
Tailwind
colors: {
  custom: {
    50: '#cf9bf2',
    500: '#b770eb',
    950: '#000000',
  },
}
SCSS
$custom: #b770eb;
$custom-light: #cf9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b770eb",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 274.634,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67241,
    "c": 0.18554,
    "h": 308.9
  },
  "luminance": 0.27654
}

Semantic roles & 50–950 ramp

primary
#B770EB
secondary
#D8EEC9
accent
#D80E63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B770EB

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

Preview Lab → · Contrast checker → · Palette generator →

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