#B770F8#B770F8

#B770F8 is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.0% C 0.200 H 305.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B770F8
RGBrgb(183, 112, 248)
HSLhsl(271, 91%, 71%)
HSVhsv(271, 55%, 97%)
CMYKcmyk(26.2%, 54.8%, 0%, 2.7%)
CIE-LABlab(60.28, 52.84, -57.60)
CIE-LCHlch(60.28, 78.17, 312.54°)
OKLaboklab(67.99% 0.1172 -0.1622)
OKLCHoklch(67.99% 0.2 305.9)
XYZxyz(42.2623, 28.4333, 92.0505)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770F8 #B1F870
analogous
#7370F8 #B770F8 #F870F5
triadic
#B770F8 #F8B770 #70F8B7
tetradic
#B770F8 #F87370 #B1F870 #70F5F8
square
#B770F8 #F87370 #B1F870 #70F5F8
split-complementary
#B770F8 #F5F870 #70F873
monochromatic
#7C0BE3 #9A36F5 #B770F8 #D4AAFB #F0E2FE

Accessibility & contrast

On white

3.14
#B770F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B770F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770F8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770F8#FFFFFF#000000##000000
##B770F81.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8FFD
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#AC8AAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b770f8;
/* rgb */ color: rgb(183, 112, 248);
/* oklch */ color: oklch(68.0% 0.200 305.9);
Tailwind
colors: {
  custom: {
    50: '#d09bfb',
    500: '#b770f8',
    950: '#000000',
  },
}
SCSS
$custom: #b770f8;
$custom-light: #d09bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b770f8",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 271.324,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67986,
    "c": 0.20013,
    "h": 305.9
  },
  "luminance": 0.28433
}

Semantic roles & 50–950 ramp

primary
#B770F8
secondary
#E1F4CF
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B770F8

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

Preview Lab → · Contrast checker → · Palette generator →

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