#B643D9#B643D9

#B643D9 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.230 H 317.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B643D9
RGBrgb(182, 67, 217)
HSLhsl(286, 66%, 56%)
HSVhsv(286, 69%, 85%)
CMYKcmyk(16.1%, 69.1%, 0%, 14.9%)
CIE-LABlab(50.65, 67.02, -55.63)
CIE-LCHlch(50.65, 87.09, 320.31°)
OKLaboklab(60.4% 0.1687 -0.1562)
OKLCHoklch(60.4% 0.23 317.2)
XYZxyz(33.8211, 18.9706, 67.5123)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B643D9 #66D943
analogous
#6B43D9 #B643D9 #D943B1
triadic
#B643D9 #D9B643 #43D9B6
tetradic
#B643D9 #D96B43 #66D943 #43B1D9
square
#B643D9 #D96B43 #66D943 #43B1D9
split-complementary
#B643D9 #B1D943 #43D96B
monochromatic
#6D1B86 #9725B9 #B643D9 #CA76E3 #DEA9EE

Accessibility & contrast

On white

4.38
#B643D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B643D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B643D9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B643D9#FFFFFF#000000##000000
##B643D91.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#467CD6
Tritanopia (blue-blind)
#B46089
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b643d9;
/* rgb */ color: rgb(182, 67, 217);
/* oklch */ color: oklch(60.4% 0.230 317.2);
Tailwind
colors: {
  custom: {
    50: '#d080e5',
    500: '#b643d9',
    950: '#000000',
  },
}
SCSS
$custom: #b643d9;
$custom-light: #d080e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b643d9",
  "rgb": {
    "r": 182,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 286,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60397,
    "c": 0.22995,
    "h": 317.2
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#B643D9
secondary
#ABDB9D
accent
#E93F66
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B643D9

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

Preview Lab → · Contrast checker → · Palette generator →

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