#B771FC#B771FC

#B771FC is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.4% C 0.203 H 304.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B771FC
RGBrgb(183, 113, 252)
HSLhsl(270, 96%, 72%)
HSVhsv(270, 55%, 99%)
CMYKcmyk(27.4%, 55.2%, 0%, 1.2%)
CIE-LABlab(60.70, 53.24, -59.13)
CIE-LCHlch(60.70, 79.57, 312.00°)
OKLaboklab(68.37% 0.1161 -0.1667)
OKLCHoklch(68.37% 0.203 304.9)
XYZxyz(43.0004, 28.9060, 95.3907)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771FC #B6FC71
analogous
#7271FC #B771FC #FC71FB
triadic
#B771FC #FCB771 #71FCB7
tetradic
#B771FC #FC7271 #B6FC71 #71FBFC
square
#B771FC #FC7271 #B6FC71 #71FBFC
split-complementary
#B771FC #FBFC71 #71FC72
monochromatic
#7A05EE #9935FB #B771FC #D5ADFD #F0E1FE

Accessibility & contrast

On white

3.10
#B771FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B771FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771FC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771FC#FFFFFF#000000##000000
##B771FC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#5693F9
Tritanopia (blue-blind)
#AB8CAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b771fc;
/* rgb */ color: rgb(183, 113, 252);
/* oklch */ color: oklch(68.4% 0.203 304.9);
Tailwind
colors: {
  custom: {
    50: '#d09cfe',
    500: '#b771fc',
    950: '#000000',
  },
}
SCSS
$custom: #b771fc;
$custom-light: #d09cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b771fc",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 270.216,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68367,
    "c": 0.20316,
    "h": 304.9
  },
  "luminance": 0.28906
}

Semantic roles & 50–950 ramp

primary
#B771FC
secondary
#E4F6D3
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B771FC

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

Preview Lab → · Contrast checker → · Palette generator →

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