#B462BC#B462BC

#B462BC is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.4% C 0.157 H 323.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B462BC
RGBrgb(180, 98, 188)
HSLhsl(295, 40%, 56%)
HSVhsv(295, 48%, 74%)
CMYKcmyk(4.3%, 47.9%, 0%, 26.3%)
CIE-LABlab(54.10, 46.63, -33.57)
CIE-LCHlch(54.10, 57.46, 324.25°)
OKLaboklab(62.36% 0.1267 -0.0924)
OKLCHoklch(62.36% 0.157 323.9)
XYZxyz(32.2663, 22.0710, 50.1277)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462BC #6ABC62
analogous
#8762BC #B462BC #BC6297
triadic
#B462BC #BCB462 #62BCB4
tetradic
#B462BC #BC8762 #6ABC62 #6297BC
square
#B462BC #BC8762 #6ABC62 #6297BC
split-complementary
#B462BC #97BC62 #62BC87
monochromatic
#6D3173 #96439E #B462BC #C88DCE #DDB8E1

Accessibility & contrast

On white

3.88
#B462BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B462BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462BC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462BC#FFFFFF#000000##000000
##B462BC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBF
Deuteranopia (green-blind)
#6F85B9
Tritanopia (blue-blind)
#B76D86
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b462bc;
/* rgb */ color: rgb(180, 98, 188);
/* oklch */ color: oklch(62.4% 0.157 323.9);
Tailwind
colors: {
  custom: {
    50: '#cc91d0',
    500: '#b462bc',
    950: '#000000',
  },
}
SCSS
$custom: #b462bc;
$custom-light: #cc91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b462bc",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 294.667,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62358,
    "c": 0.15678,
    "h": 323.9
  },
  "luminance": 0.2207
}

Semantic roles & 50–950 ramp

primary
#B462BC
secondary
#AECFAA
accent
#D05862
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B462BC

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

Preview Lab → · Contrast checker → · Palette generator →

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