#B772CA#B772CA

#B772CA is a light, vivid purple. Relative luminance 0.264; OKLCH L 65.8% C 0.146 H 318.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B772CA
RGBrgb(183, 114, 202)
HSLhsl(287, 45%, 62%)
HSVhsv(287, 44%, 79%)
CMYKcmyk(9.4%, 43.6%, 0%, 20.8%)
CIE-LABlab(58.38, 41.83, -34.85)
CIE-LCHlch(58.38, 54.44, 320.20°)
OKLaboklab(65.83% 0.1096 -0.0961)
OKLCHoklch(65.83% 0.146 318.7)
XYZxyz(36.2050, 26.3673, 59.0479)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B772CA #85CA72
analogous
#8B72CA #B772CA #CA72B1
triadic
#B772CA #CAB772 #72CAB7
tetradic
#B772CA #CA8B72 #85CA72 #72B1CA
square
#B772CA #CA8B72 #85CA72 #72B1CA
split-complementary
#B772CA #B1CA72 #72CA8B
monochromatic
#7A358D #A046B9 #B772CA #CE9EDB #E4CBEB

Accessibility & contrast

On white

3.35
#B772CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#B772CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B772CA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B772CA#FFFFFF#000000##000000
##B772CA1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CD
Deuteranopia (green-blind)
#778FC7
Tritanopia (blue-blind)
#B77D94
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b772ca;
/* rgb */ color: rgb(183, 114, 202);
/* oklch */ color: oklch(65.8% 0.146 318.7);
Tailwind
colors: {
  custom: {
    50: '#ce9cda',
    500: '#b772ca',
    950: '#000000',
  },
}
SCSS
$custom: #b772ca;
$custom-light: #ce9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#b772ca",
  "rgb": {
    "r": 183,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 287.045,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65833,
    "c": 0.14576,
    "h": 318.7
  },
  "luminance": 0.26366
}

Semantic roles & 50–950 ramp

primary
#B772CA
secondary
#C3DCBC
accent
#B92D4B
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B772CA

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

Preview Lab → · Contrast checker → · Palette generator →

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