#B772DC#B772DC

#B772DC is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.166 H 312.7°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B772DC
RGBrgb(183, 114, 220)
HSLhsl(279, 60%, 65%)
HSVhsv(279, 48%, 86%)
CMYKcmyk(16.8%, 48.2%, 0%, 13.7%)
CIE-LABlab(59.22, 45.59, -43.68)
CIE-LCHlch(59.22, 63.14, 316.22°)
OKLaboklab(66.73% 0.1123 -0.1216)
OKLCHoklch(66.73% 0.166 312.7)
XYZxyz(38.4618, 27.2701, 70.9338)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772DC #97DC72
analogous
#8272DC #B772DC #DC72CC
triadic
#B772DC #DCB772 #72DCB7
tetradic
#B772DC #DC8272 #97DC72 #72CCDC
square
#B772DC #DC8272 #97DC72 #72CCDC
split-complementary
#B772DC #CCDC72 #72DC82
monochromatic
#7D2AAA #9E41D0 #B772DC #D0A3E8 #E9D4F4

Accessibility & contrast

On white

3.25
#B772DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B772DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772DC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772DC#FFFFFF#000000##000000
##B772DC1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE0
Deuteranopia (green-blind)
#6E90D9
Tritanopia (blue-blind)
#B4839D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b772dc;
/* rgb */ color: rgb(183, 114, 220);
/* oklch */ color: oklch(66.7% 0.166 312.7);
Tailwind
colors: {
  custom: {
    50: '#cf9ce7',
    500: '#b772dc',
    950: '#000000',
  },
}
SCSS
$custom: #b772dc;
$custom-light: #cf9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#b772dc",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 279.057,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66733,
    "c": 0.16558,
    "h": 312.7
  },
  "luminance": 0.27269
}

Semantic roles & 50–950 ramp

primary
#B772DC
secondary
#D0E7C3
accent
#C81E59
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B772DC

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

Preview Lab → · Contrast checker → · Palette generator →

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