#B641DB#B641DB

#B641DB is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.234 H 316.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B641DB
RGBrgb(182, 65, 219)
HSLhsl(286, 68%, 56%)
HSVhsv(286, 70%, 86%)
CMYKcmyk(16.9%, 70.3%, 0%, 14.1%)
CIE-LABlab(50.50, 68.17, -57.01)
CIE-LCHlch(50.50, 88.87, 320.10°)
OKLaboklab(60.33% 0.1706 -0.1603)
OKLCHoklch(60.33% 0.234 316.8)
XYZxyz(33.9660, 18.8415, 68.8517)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B641DB #66DB41
analogous
#6941DB #B641DB #DB41B3
triadic
#B641DB #DBB641 #41DBB6
tetradic
#B641DB #DB6941 #66DB41 #41B3DB
square
#B641DB #DB6941 #66DB41 #41B3DB
split-complementary
#B641DB #B3DB41 #41DB69
monochromatic
#6D1A88 #9723BB #B641DB #CA74E5 #DEA8EE

Accessibility & contrast

On white

4.40
#B641DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B641DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B641DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B641DB#FFFFFF#000000##000000
##B641DB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#437CD7
Tritanopia (blue-blind)
#B4608A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b641db;
/* rgb */ color: rgb(182, 65, 219);
/* oklch */ color: oklch(60.3% 0.234 316.8);
Tailwind
colors: {
  custom: {
    50: '#d080e7',
    500: '#b641db',
    950: '#000000',
  },
}
SCSS
$custom: #b641db;
$custom-light: #d080e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b641db",
  "rgb": {
    "r": 182,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 285.584,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.23406,
    "h": 316.8
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

primary
#B641DB
secondary
#ABDC9C
accent
#EB3D67
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B641DB

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

Preview Lab → · Contrast checker → · Palette generator →

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