#B770E4#B770E4

#B770E4 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.178 H 310.7°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B770E4
RGBrgb(183, 112, 228)
HSLhsl(277, 68%, 67%)
HSVhsv(277, 51%, 89%)
CMYKcmyk(19.7%, 50.9%, 0%, 10.6%)
CIE-LABlab(59.21, 48.38, -48.18)
CIE-LCHlch(59.21, 68.28, 315.12°)
OKLaboklab(66.85% 0.1159 -0.1347)
OKLCHoklch(66.85% 0.178 310.7)
XYZxyz(39.3236, 27.2578, 76.5735)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770E4 #9DE470
analogous
#7D70E4 #B770E4 #E470D7
triadic
#B770E4 #E4B770 #70E4B7
tetradic
#B770E4 #E47D70 #9DE470 #70D7E4
square
#B770E4 #E47D70 #9DE470 #70D7E4
split-complementary
#B770E4 #D7E470 #70E47D
monochromatic
#7D23B7 #9D3DDA #B770E4 #D1A3EE #EBD7F7

Accessibility & contrast

On white

3.26
#B770E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B770E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770E4
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770E4#FFFFFF#000000##000000
##B770E41.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE8
Deuteranopia (green-blind)
#6790E1
Tritanopia (blue-blind)
#B283A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b770e4;
/* rgb */ color: rgb(183, 112, 228);
/* oklch */ color: oklch(66.9% 0.178 310.7);
Tailwind
colors: {
  custom: {
    50: '#cf9bed',
    500: '#b770e4',
    950: '#000000',
  },
}
SCSS
$custom: #b770e4;
$custom-light: #cf9bed;
$custom-dark: #000000;
JSON
{
  "hex": "#b770e4",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 276.724,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66854,
    "c": 0.17772,
    "h": 310.7
  },
  "luminance": 0.27257
}

Semantic roles & 50–950 ramp

primary
#B770E4
secondary
#D4EBC5
accent
#D0155E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B770E4

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

Preview Lab → · Contrast checker → · Palette generator →

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