#B642AA#B642AA

#B642AA is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.191 H 332.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B642AA
RGBrgb(182, 66, 170)
HSLhsl(306, 47%, 49%)
HSVhsv(306, 64%, 71%)
CMYKcmyk(0%, 63.7%, 6.6%, 28.6%)
CIE-LABlab(47.94, 59.05, -32.71)
CIE-LCHlch(47.94, 67.50, 331.02°)
OKLaboklab(57.61% 0.1691 -0.0896)
OKLCHoklch(57.61% 0.191 332.1)
XYZxyz(28.4953, 16.7459, 39.7539)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642AA #42B64E
analogous
#8842B6 #B642AA #B64270
triadic
#B642AA #AAB642 #42AAB6
tetradic
#B642AA #B68842 #42B64E #4270B6
square
#B642AA #B68842 #42B64E #4270B6
split-complementary
#B642AA #70B642 #42B688
monochromatic
#5C2156 #893280 #B642AA #CA6CC0 #DA99D3

Accessibility & contrast

On white

4.83
#B642AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B642AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B642AA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642AA#FFFFFF#000000##FFFFFF
##B642AA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AD
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#BD4D70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b642aa;
/* rgb */ color: rgb(182, 66, 170);
/* oklch */ color: oklch(57.6% 0.191 332.1);
Tailwind
colors: {
  custom: {
    50: '#cf7ec3',
    500: '#b642aa',
    950: '#000000',
  },
}
SCSS
$custom: #b642aa;
$custom-light: #cf7ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#b642aa",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 306.207,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.1914,
    "h": 332.1
  },
  "luminance": 0.16744
}

Semantic roles & 50–950 ramp

primary
#B642AA
secondary
#8EC694
accent
#D65F51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B642AA

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

Preview Lab → · Contrast checker → · Palette generator →

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