#B770EC#B770EC

#B770EC is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.3% C 0.187 H 308.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B770EC
RGBrgb(183, 112, 236)
HSLhsl(274, 77%, 68%)
HSVhsv(274, 53%, 93%)
CMYKcmyk(22.5%, 52.5%, 0%, 7.5%)
CIE-LABlab(59.63, 50.14, -51.98)
CIE-LCHlch(59.63, 72.22, 313.97°)
OKLaboklab(67.3% 0.1166 -0.1458)
OKLCHoklch(67.3% 0.187 308.7)
XYZxyz(40.4600, 27.7123, 82.5582)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770EC #A5EC70
analogous
#7970EC #B770EC #EC70E3
triadic
#B770EC #ECB770 #70ECB7
tetradic
#B770EC #EC7970 #A5EC70 #70E3EC
square
#B770EC #EC7970 #A5EC70 #70E3EC
split-complementary
#B770EC #E3EC70 #70EC79
monochromatic
#7D1AC7 #9C3AE5 #B770EC #D2A6F3 #EDDCFA

Accessibility & contrast

On white

3.21
#B770EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B770EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770EC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770EC#FFFFFF#000000##000000
##B770EC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF0
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#B086A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b770ec;
/* rgb */ color: rgb(183, 112, 236);
/* oklch */ color: oklch(67.3% 0.187 308.7);
Tailwind
colors: {
  custom: {
    50: '#cf9bf3',
    500: '#b770ec',
    950: '#000000',
  },
}
SCSS
$custom: #b770ec;
$custom-light: #cf9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b770ec",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 274.355,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67297,
    "c": 0.18667,
    "h": 308.7
  },
  "luminance": 0.27712
}

Semantic roles & 50–950 ramp

primary
#B770EC
secondary
#D9EFC9
accent
#D90D64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B770EC

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

Preview Lab → · Contrast checker → · Palette generator →

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