#B64BB2#B64BB2

#B64BB2 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.0% C 0.185 H 329.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B64BB2
RGBrgb(182, 75, 178)
HSLhsl(302, 42%, 50%)
HSVhsv(302, 59%, 71%)
CMYKcmyk(0%, 58.8%, 2.2%, 28.6%)
CIE-LABlab(49.73, 56.52, -34.59)
CIE-LCHlch(49.73, 66.26, 328.53°)
OKLaboklab(59.04% 0.1589 -0.0951)
OKLCHoklch(59.04% 0.185 329.1)
XYZxyz(29.8430, 18.1936, 44.0507)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64BB2 #4BB64F
analogous
#844BB6 #B64BB2 #B64B7C
triadic
#B64BB2 #B2B64B #4BB2B6
tetradic
#B64BB2 #B6844B #4BB64F #4B7CB6
square
#B64BB2 #B6844B #4BB64F #4B7CB6
split-complementary
#B64BB2 #7CB64B #4BB684
monochromatic
#60275E #8B3888 #B64BB2 #C877C5 #D9A2D7

Accessibility & contrast

On white

4.53
#B64BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B64BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64BB2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64BB2#FFFFFF#000000##000000
##B64BB21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#BC5778
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b64bb2;
/* rgb */ color: rgb(182, 75, 178);
/* oklch */ color: oklch(59.0% 0.185 329.1);
Tailwind
colors: {
  custom: {
    50: '#cf84c9',
    500: '#b64bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b64bb2;
$custom-light: #cf84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b64bb2",
  "rgb": {
    "r": 182,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 302.243,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59042,
    "c": 0.18518,
    "h": 329.1
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#B64BB2
secondary
#97C698
accent
#D25A56
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B64BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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