#B770FB#B770FB

#B770FB is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.2% C 0.203 H 305.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B770FB
RGBrgb(183, 112, 251)
HSLhsl(271, 95%, 71%)
HSVhsv(271, 55%, 98%)
CMYKcmyk(27.1%, 55.4%, 0%, 1.6%)
CIE-LABlab(60.45, 53.53, -58.99)
CIE-LCHlch(60.45, 79.65, 312.22°)
OKLaboklab(68.16% 0.1173 -0.1663)
OKLCHoklch(68.16% 0.203 305.2)
XYZxyz(42.7315, 28.6209, 94.5213)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770FB #B4FB70
analogous
#7170FB #B770FB #FB70FA
triadic
#B770FB #FBB770 #70FBB7
tetradic
#B770FB #FB7170 #B4FB70 #70FAFB
square
#B770FB #FB7170 #B4FB70 #70FAFB
split-complementary
#B770FB #FAFB70 #70FB71
monochromatic
#7B07EA #9934F9 #B770FB #D5ACFD #F0E1FE

Accessibility & contrast

On white

3.12
#B770FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B770FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770FB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770FB#FFFFFF#000000##000000
##B770FB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#AB8AAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b770fb;
/* rgb */ color: rgb(183, 112, 251);
/* oklch */ color: oklch(68.2% 0.203 305.2);
Tailwind
colors: {
  custom: {
    50: '#d09bfd',
    500: '#b770fb',
    950: '#000000',
  },
}
SCSS
$custom: #b770fb;
$custom-light: #d09bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b770fb",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 270.647,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68163,
    "c": 0.20349,
    "h": 305.2
  },
  "luminance": 0.28621
}

Semantic roles & 50–950 ramp

primary
#B770FB
secondary
#E3F6D1
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B770FB

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

Preview Lab → · Contrast checker → · Palette generator →

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