#B64FB2#B64FB2

#B64FB2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.5% C 0.179 H 329.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B64FB2
RGBrgb(182, 79, 178)
HSLhsl(302, 41%, 51%)
HSVhsv(302, 57%, 71%)
CMYKcmyk(0%, 56.6%, 2.2%, 28.6%)
CIE-LABlab(50.40, 54.70, -33.55)
CIE-LCHlch(50.40, 64.17, 328.48°)
OKLaboklab(59.53% 0.1537 -0.0921)
OKLCHoklch(59.53% 0.179 329.1)
XYZxyz(30.1229, 18.7533, 44.1440)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64FB2 #4FB653
analogous
#864FB6 #B64FB2 #B64F7E
triadic
#B64FB2 #B2B64F #4FB2B6
tetradic
#B64FB2 #B6864F #4FB653 #4F7EB6
square
#B64FB2 #B6864F #4FB653 #4F7EB6
split-complementary
#B64FB2 #7EB64F #4FB686
monochromatic
#622960 #8D3B8A #B64FB2 #C87AC5 #DAA6D8

Accessibility & contrast

On white

4.42
#B64FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B64FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64FB2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64FB2#FFFFFF#000000##000000
##B64FB21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#BC5A79
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b64fb2;
/* rgb */ color: rgb(182, 79, 178);
/* oklch */ color: oklch(59.5% 0.179 329.1);
Tailwind
colors: {
  custom: {
    50: '#ce86c9',
    500: '#b64fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b64fb2;
$custom-light: #ce86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b64fb2",
  "rgb": {
    "r": 182,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 302.33,
    "s": 41.365,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5953,
    "c": 0.17921,
    "h": 329.1
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#B64FB2
secondary
#9AC79B
accent
#D15B57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B64FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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