#B062BA#B062BA

#B062BA is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.8% C 0.152 H 322.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B062BA
RGBrgb(176, 98, 186)
HSLhsl(293, 39%, 56%)
HSVhsv(293, 47%, 73%)
CMYKcmyk(5.4%, 47.3%, 0%, 27.1%)
CIE-LABlab(53.51, 45.08, -33.38)
CIE-LCHlch(53.51, 56.09, 323.48°)
OKLaboklab(61.78% 0.1216 -0.0919)
OKLCHoklch(61.78% 0.152 322.9)
XYZxyz(31.1342, 21.5120, 48.9571)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062BA #6CBA62
analogous
#8462BA #B062BA #BA6298
triadic
#B062BA #BAB062 #62BAB0
tetradic
#B062BA #BA8462 #6CBA62 #6298BA
square
#B062BA #BA8462 #6CBA62 #6298BA
split-complementary
#B062BA #98BA62 #62BA84
monochromatic
#693170 #91449B #B062BA #C58DCD #DBB7DF

Accessibility & contrast

On white

3.96
#B062BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B062BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062BA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062BA#FFFFFF#000000##000000
##B062BA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABD
Deuteranopia (green-blind)
#6D83B7
Tritanopia (blue-blind)
#B26D85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b062ba;
/* rgb */ color: rgb(176, 98, 186);
/* oklch */ color: oklch(61.8% 0.152 322.9);
Tailwind
colors: {
  custom: {
    50: '#c991cf',
    500: '#b062ba',
    950: '#000000',
  },
}
SCSS
$custom: #b062ba;
$custom-light: #c991cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b062ba",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 293.182,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.15246,
    "h": 322.9
  },
  "luminance": 0.21511
}

Semantic roles & 50–950 ramp

primary
#B062BA
secondary
#AECEAA
accent
#CF5966
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B062BA

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

Preview Lab → · Contrast checker → · Palette generator →

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