#B642DB#B642DB

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

Color values

HEX#B642DB
RGBrgb(182, 66, 219)
HSLhsl(285, 68%, 56%)
HSVhsv(285, 70%, 86%)
CMYKcmyk(16.9%, 69.9%, 0%, 14.1%)
CIE-LABlab(50.64, 67.79, -56.79)
CIE-LCHlch(50.64, 88.43, 320.05°)
OKLaboklab(60.43% 0.1696 -0.1596)
OKLCHoklch(60.43% 0.233 316.7)
XYZxyz(34.0239, 18.9574, 68.8710)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642DB #67DB42
analogous
#6942DB #B642DB #DB42B3
triadic
#B642DB #DBB642 #42DBB6
tetradic
#B642DB #DB6942 #67DB42 #42B3DB
square
#B642DB #DB6942 #67DB42 #42B3DB
split-complementary
#B642DB #B3DB42 #42DB69
monochromatic
#6E1A89 #9724BC #B642DB #CA75E5 #DEA9EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B642DB#FFFFFF#000000##000000
##B642DB1.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)
#0071DF
Deuteranopia (green-blind)
#447CD8
Tritanopia (blue-blind)
#B4618A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b642db;
/* rgb */ color: rgb(182, 66, 219);
/* oklch */ color: oklch(60.4% 0.233 316.7);
Tailwind
colors: {
  custom: {
    50: '#d080e7',
    500: '#b642db',
    950: '#000000',
  },
}
SCSS
$custom: #b642db;
$custom-light: #d080e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b642db",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 285.49,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.2329,
    "h": 316.7
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B642DB

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

Preview Lab → · Contrast checker → · Palette generator →

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