#B770F5#B770F5

#B770F5 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.8% C 0.197 H 306.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B770F5
RGBrgb(183, 112, 245)
HSLhsl(272, 87%, 70%)
HSVhsv(272, 54%, 96%)
CMYKcmyk(25.3%, 54.3%, 0%, 3.9%)
CIE-LABlab(60.11, 52.16, -56.20)
CIE-LCHlch(60.11, 76.68, 312.86°)
OKLaboklab(67.81% 0.1171 -0.1581)
OKLCHoklch(67.81% 0.197 306.5)
XYZxyz(41.8006, 28.2486, 89.6189)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770F5 #AEF570
analogous
#7470F5 #B770F5 #F570F1
triadic
#B770F5 #F5B770 #70F5B7
tetradic
#B770F5 #F57470 #AEF570 #70F1F5
square
#B770F5 #F57470 #AEF570 #70F1F5
split-complementary
#B770F5 #F1F570 #70F574
monochromatic
#7C0FDB #9A37F1 #B770F5 #D4A9F9 #F1E2FD

Accessibility & contrast

On white

3.16
#B770F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B770F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770F5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770F5#FFFFFF#000000##000000
##B770F51.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438EF9
Deuteranopia (green-blind)
#5B91F2
Tritanopia (blue-blind)
#AD89A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b770f5;
/* rgb */ color: rgb(183, 112, 245);
/* oklch */ color: oklch(67.8% 0.197 306.5);
Tailwind
colors: {
  custom: {
    50: '#d09bf9',
    500: '#b770f5',
    950: '#000000',
  },
}
SCSS
$custom: #b770f5;
$custom-light: #d09bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b770f5",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 272.03,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.67811,
    "c": 0.19676,
    "h": 306.5
  },
  "luminance": 0.28248
}

Semantic roles & 50–950 ramp

primary
#B770F5
secondary
#DFF3CE
accent
#E3026B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B770F5

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

Preview Lab → · Contrast checker → · Palette generator →

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