#B770F7#B770F7

#B770F7 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.9% C 0.199 H 306.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B770F7
RGBrgb(183, 112, 247)
HSLhsl(272, 89%, 70%)
HSVhsv(272, 55%, 97%)
CMYKcmyk(25.9%, 54.7%, 0%, 3.1%)
CIE-LABlab(60.22, 52.62, -57.13)
CIE-LCHlch(60.22, 77.67, 312.64°)
OKLaboklab(67.93% 0.1172 -0.1608)
OKLCHoklch(67.93% 0.199 306.1)
XYZxyz(42.1076, 28.3714, 91.2356)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770F7 #B0F770
analogous
#7470F7 #B770F7 #F770F3
triadic
#B770F7 #F7B770 #70F7B7
tetradic
#B770F7 #F77470 #B0F770 #70F3F7
square
#B770F7 #F77470 #B0F770 #70F3F7
split-complementary
#B770F7 #F3F770 #70F774
monochromatic
#7C0DE0 #9A36F4 #B770F7 #D4AAFA #F0E2FD

Accessibility & contrast

On white

3.15
#B770F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B770F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770F7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770F7#FFFFFF#000000##000000
##B770F71.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#AD89A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b770f7;
/* rgb */ color: rgb(183, 112, 247);
/* oklch */ color: oklch(67.9% 0.199 306.1);
Tailwind
colors: {
  custom: {
    50: '#d09bfa',
    500: '#b770f7',
    950: '#000000',
  },
}
SCSS
$custom: #b770f7;
$custom-light: #d09bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b770f7",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 271.556,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67927,
    "c": 0.19901,
    "h": 306.1
  },
  "luminance": 0.28371
}

Semantic roles & 50–950 ramp

primary
#B770F7
secondary
#E0F4CF
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B770F7

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

Preview Lab → · Contrast checker → · Palette generator →

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