#B062BB#B062BB

#B062BB is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.8% C 0.153 H 322.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B062BB
RGBrgb(176, 98, 187)
HSLhsl(293, 40%, 56%)
HSVhsv(293, 48%, 73%)
CMYKcmyk(5.9%, 47.6%, 0%, 26.7%)
CIE-LABlab(53.55, 45.27, -33.89)
CIE-LCHlch(53.55, 56.55, 323.18°)
OKLaboklab(61.83% 0.1218 -0.0934)
OKLCHoklch(61.83% 0.153 322.5)
XYZxyz(31.2409, 21.5547, 49.5189)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062BB #6DBB62
analogous
#8362BB #B062BB #BB6299
triadic
#B062BB #BBB062 #62BBB0
tetradic
#B062BB #BB8362 #6DBB62 #6299BB
square
#B062BB #BB8362 #6DBB62 #6299BB
split-complementary
#B062BB #99BB62 #62BB83
monochromatic
#6A3171 #91449C #B062BB #C58DCD #DBB7E0

Accessibility & contrast

On white

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

On black

5.31
#B062BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062BB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062BB#FFFFFF#000000##000000
##B062BB1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#6C83B8
Tritanopia (blue-blind)
#B26D86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b062bb;
/* rgb */ color: rgb(176, 98, 187);
/* oklch */ color: oklch(61.8% 0.153 322.5);
Tailwind
colors: {
  custom: {
    50: '#c991d0',
    500: '#b062bb',
    950: '#000000',
  },
}
SCSS
$custom: #b062bb;
$custom-light: #c991d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b062bb",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 292.584,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.15346,
    "h": 322.5
  },
  "luminance": 0.21553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B062BB

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

Preview Lab → · Contrast checker → · Palette generator →

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