#B062BC#B062BC

#B062BC is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.9% C 0.154 H 322.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B062BC
RGBrgb(176, 98, 188)
HSLhsl(292, 40%, 56%)
HSVhsv(292, 48%, 74%)
CMYKcmyk(6.4%, 47.9%, 0%, 26.3%)
CIE-LABlab(53.60, 45.47, -34.39)
CIE-LCHlch(53.60, 57.01, 322.90°)
OKLaboklab(61.88% 0.1219 -0.0948)
OKLCHoklch(61.88% 0.154 322.1)
XYZxyz(31.3483, 21.5976, 50.0847)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062BC #6EBC62
analogous
#8362BC #B062BC #BC629B
triadic
#B062BC #BCB062 #62BCB0
tetradic
#B062BC #BC8362 #6EBC62 #629BBC
square
#B062BC #BC8362 #6EBC62 #629BBC
split-complementary
#B062BC #9BBC62 #62BC83
monochromatic
#6A3173 #92439E #B062BC #C68DCE #DBB8E1

Accessibility & contrast

On white

3.95
#B062BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B062BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062BC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062BC#FFFFFF#000000##000000
##B062BC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#6C83B9
Tritanopia (blue-blind)
#B26D86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b062bc;
/* rgb */ color: rgb(176, 98, 188);
/* oklch */ color: oklch(61.9% 0.154 322.1);
Tailwind
colors: {
  custom: {
    50: '#c991d0',
    500: '#b062bc',
    950: '#000000',
  },
}
SCSS
$custom: #b062bc;
$custom-light: #c991d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b062bc",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 292,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61875,
    "c": 0.15448,
    "h": 322.1
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#B062BC
secondary
#AFCFAA
accent
#D05868
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B062BC

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

Preview Lab → · Contrast checker → · Palette generator →

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