#B64BBA#B64BBA

#B64BBA is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.5% C 0.192 H 326.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B64BBA
RGBrgb(182, 75, 186)
HSLhsl(298, 45%, 51%)
HSVhsv(298, 60%, 73%)
CMYKcmyk(2.2%, 59.7%, 0%, 27.1%)
CIE-LABlab(50.13, 57.92, -38.63)
CIE-LCHlch(50.13, 69.62, 326.30°)
OKLaboklab(59.46% 0.1596 -0.1068)
OKLCHoklch(59.46% 0.192 326.2)
XYZxyz(30.6698, 18.5243, 48.4050)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64BBA #4FBA4B
analogous
#7E4BBA #B64BBA #BA4B86
triadic
#B64BBA #BAB64B #4BBAB6
tetradic
#B64BBA #BA7E4B #4FBA4B #4B86BA
square
#B64BBA #BA7E4B #4FBA4B #4B86BA
split-complementary
#B64BBA #86BA4B #4BBA7E
monochromatic
#622664 #8D3790 #B64BBA #C877CB #DAA3DC

Accessibility & contrast

On white

4.46
#B64BBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B64BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64BBA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64BBA#FFFFFF#000000##000000
##B64BBA1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBD
Deuteranopia (green-blind)
#617CB7
Tritanopia (blue-blind)
#BB5A7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b64bba;
/* rgb */ color: rgb(182, 75, 186);
/* oklch */ color: oklch(59.5% 0.192 326.2);
Tailwind
colors: {
  custom: {
    50: '#cf84cf',
    500: '#b64bba',
    950: '#000000',
  },
}
SCSS
$custom: #b64bba;
$custom-light: #cf84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b64bba",
  "rgb": {
    "r": 182,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 297.838,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5946,
    "c": 0.19204,
    "h": 326.2
  },
  "luminance": 0.18522
}

Semantic roles & 50–950 ramp

primary
#B64BBA
secondary
#9AC998
accent
#D45458
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B64BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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