#B770FA#B770FA

#B770FA is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.1% C 0.202 H 305.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B770FA
RGBrgb(183, 112, 250)
HSLhsl(271, 93%, 71%)
HSVhsv(271, 55%, 98%)
CMYKcmyk(26.8%, 55.2%, 0%, 2%)
CIE-LABlab(60.39, 53.30, -58.52)
CIE-LCHlch(60.39, 79.16, 312.33°)
OKLaboklab(68.1% 0.1173 -0.1649)
OKLCHoklch(68.1% 0.202 305.4)
XYZxyz(42.5742, 28.5580, 93.6933)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770FA #B3FA70
analogous
#7270FA #B770FA #FA70F8
triadic
#B770FA #FAB770 #70FAB7
tetradic
#B770FA #FA7270 #B3FA70 #70F8FA
square
#B770FA #FA7270 #B3FA70 #70F8FA
split-complementary
#B770FA #F8FA70 #70FA72
monochromatic
#7B08E8 #9935F8 #B770FA #D5ABFC #F0E1FE

Accessibility & contrast

On white

3.13
#B770FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B770FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770FA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770FA#FFFFFF#000000##000000
##B770FA1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFF
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#AC8AAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b770fa;
/* rgb */ color: rgb(183, 112, 250);
/* oklch */ color: oklch(68.1% 0.202 305.4);
Tailwind
colors: {
  custom: {
    50: '#d09bfd',
    500: '#b770fa',
    950: '#000000',
  },
}
SCSS
$custom: #b770fa;
$custom-light: #d09bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b770fa",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 270.87,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68104,
    "c": 0.20237,
    "h": 305.4
  },
  "luminance": 0.28558
}

Semantic roles & 50–950 ramp

primary
#B770FA
secondary
#E2F5D1
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B770FA

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

Preview Lab → · Contrast checker → · Palette generator →

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