#B772FA#B772FA

#B772FA is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.4% C 0.199 H 305.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#B772FA
RGBrgb(183, 114, 250)
HSLhsl(270, 93%, 71%)
HSVhsv(270, 54%, 98%)
CMYKcmyk(26.8%, 54.4%, 0%, 2%)
CIE-LABlab(60.79, 52.26, -57.89)
CIE-LCHlch(60.79, 77.99, 312.07°)
OKLaboklab(68.4% 0.1148 -0.1631)
OKLCHoklch(68.4% 0.199 305.1)
XYZxyz(42.7974, 29.0043, 93.7677)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772FA #B5FA72
analogous
#7372FA #B772FA #FA72F9
triadic
#B772FA #FAB772 #72FAB7
tetradic
#B772FA #FA7372 #B5FA72 #72F9FA
square
#B772FA #FA7372 #B5FA72 #72F9FA
split-complementary
#B772FA #F9FA72 #72FA73
monochromatic
#7A08E9 #9937F8 #B772FA #D5ADFC #F0E1FE

Accessibility & contrast

On white

3.09
#B772FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#B772FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772FA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772FA#FFFFFF#000000##000000
##B772FA1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#AC8CAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b772fa;
/* rgb */ color: rgb(183, 114, 250);
/* oklch */ color: oklch(68.4% 0.199 305.1);
Tailwind
colors: {
  custom: {
    50: '#d09dfc',
    500: '#b772fa',
    950: '#000000',
  },
}
SCSS
$custom: #b772fa;
$custom-light: #d09dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b772fa",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 270.441,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68395,
    "c": 0.19943,
    "h": 305.1
  },
  "luminance": 0.29004
}

Semantic roles & 50–950 ramp

primary
#B772FA
secondary
#E4F6D2
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B772FA

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

Preview Lab → · Contrast checker → · Palette generator →

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