#B641AF#B641AF

#B641AF is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.8% C 0.197 H 330.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B641AF
RGBrgb(182, 65, 175)
HSLhsl(304, 47%, 48%)
HSVhsv(304, 64%, 71%)
CMYKcmyk(0%, 64.3%, 3.8%, 28.6%)
CIE-LABlab(48.04, 60.28, -35.50)
CIE-LCHlch(48.04, 69.95, 329.51°)
OKLaboklab(57.76% 0.1708 -0.0976)
OKLCHoklch(57.76% 0.197 330.2)
XYZxyz(28.9194, 16.8229, 42.2731)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B641AF #41B648
analogous
#8241B6 #B641AF #B64174
triadic
#B641AF #AFB641 #41AFB6
tetradic
#B641AF #B68241 #41B648 #4174B6
square
#B641AF #B68241 #41B648 #4174B6
split-complementary
#B641AF #74B641 #41B682
monochromatic
#5C2158 #893184 #B641AF #CA6AC4 #DA97D6

Accessibility & contrast

On white

4.81
#B641AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B641AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B641AF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B641AF#FFFFFF#000000##FFFFFF
##B641AF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#BD4E72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b641af;
/* rgb */ color: rgb(182, 65, 175);
/* oklch */ color: oklch(57.8% 0.197 330.2);
Tailwind
colors: {
  custom: {
    50: '#cf7ec7',
    500: '#b641af',
    950: '#000000',
  },
}
SCSS
$custom: #b641af;
$custom-light: #cf7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b641af",
  "rgb": {
    "r": 182,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 303.59,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.19672,
    "h": 330.2
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#B641AF
secondary
#8DC690
accent
#D75951
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B641AF

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

Preview Lab → · Contrast checker → · Palette generator →

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