#B772F9#B772F9

#B772F9 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.3% C 0.198 H 305.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B772F9
RGBrgb(183, 114, 249)
HSLhsl(271, 92%, 71%)
HSVhsv(271, 54%, 98%)
CMYKcmyk(26.5%, 54.2%, 0%, 2.4%)
CIE-LABlab(60.73, 52.03, -57.43)
CIE-LCHlch(60.73, 77.49, 312.18°)
OKLaboklab(68.34% 0.1148 -0.1617)
OKLCHoklch(68.34% 0.198 305.4)
XYZxyz(42.6410, 28.9417, 92.9441)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772F9 #B4F972
analogous
#7372F9 #B772F9 #F972F7
triadic
#B772F9 #F9B772 #72F9B7
tetradic
#B772F9 #F97372 #B4F972 #72F7F9
square
#B772F9 #F97372 #B4F972 #72F7F9
split-complementary
#B772F9 #F7F972 #72F973
monochromatic
#7B0AE7 #9937F7 #B772F9 #D5ADFB #F0E2FE

Accessibility & contrast

On white

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

On black

6.79
#B772F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772F9
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772F9#FFFFFF#000000##000000
##B772F91.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FD
Deuteranopia (green-blind)
#5A93F6
Tritanopia (blue-blind)
#AC8BAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b772f9;
/* rgb */ color: rgb(183, 114, 249);
/* oklch */ color: oklch(68.3% 0.198 305.4);
Tailwind
colors: {
  custom: {
    50: '#d09dfc',
    500: '#b772f9',
    950: '#000000',
  },
}
SCSS
$custom: #b772f9;
$custom-light: #d09dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b772f9",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 270.667,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68336,
    "c": 0.19829,
    "h": 305.4
  },
  "luminance": 0.28941
}

Semantic roles & 50–950 ramp

primary
#B772F9
secondary
#E3F5D2
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B772F9

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

Preview Lab → · Contrast checker → · Palette generator →

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