#B642D1#B642D1

#B642D1 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.224 H 319.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B642D1
RGBrgb(182, 66, 209)
HSLhsl(289, 61%, 54%)
HSVhsv(289, 68%, 82%)
CMYKcmyk(12.9%, 68.4%, 0%, 18%)
CIE-LABlab(50.03, 65.89, -52.05)
CIE-LCHlch(50.03, 83.97, 321.70°)
OKLaboklab(59.8% 0.1702 -0.1458)
OKLCHoklch(59.8% 0.224 319.4)
XYZxyz(32.7468, 18.4465, 62.1449)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642D1 #5DD142
analogous
#6F42D1 #B642D1 #D142A5
triadic
#B642D1 #D1B642 #42D1B6
tetradic
#B642D1 #D16F42 #5DD142 #42A5D1
square
#B642D1 #D16F42 #5DD142 #42A5D1
split-complementary
#B642D1 #A5D142 #42D16F
monochromatic
#691E7B #932AAC #B642D1 #C973DD #DCA4E9

Accessibility & contrast

On white

4.48
#B642D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B642D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B642D1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642D1#FFFFFF#000000##000000
##B642D11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#4D7BCE
Tritanopia (blue-blind)
#B65C85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b642d1;
/* rgb */ color: rgb(182, 66, 209);
/* oklch */ color: oklch(59.8% 0.224 319.4);
Tailwind
colors: {
  custom: {
    50: '#d080e0',
    500: '#b642d1',
    950: '#000000',
  },
}
SCSS
$custom: #b642d1;
$custom-light: #d080e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b642d1",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 288.671,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.598,
    "c": 0.22411,
    "h": 319.4
  },
  "luminance": 0.18445
}

Semantic roles & 50–950 ramp

primary
#B642D1
secondary
#A4D699
accent
#E44462
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B642D1

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

Preview Lab → · Contrast checker → · Palette generator →

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