#B062BD#B062BD

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

Color values

HEX#B062BD
RGBrgb(176, 98, 189)
HSLhsl(291, 41%, 56%)
HSVhsv(291, 48%, 74%)
CMYKcmyk(6.9%, 48.1%, 0%, 25.9%)
CIE-LABlab(53.64, 45.67, -34.89)
CIE-LCHlch(53.64, 57.47, 322.62°)
OKLaboklab(61.93% 0.1221 -0.0963)
OKLCHoklch(61.93% 0.156 321.7)
XYZxyz(31.4565, 21.6409, 50.6544)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062BD #6FBD62
analogous
#8362BD #B062BD #BD629D
triadic
#B062BD #BDB062 #62BDB0
tetradic
#B062BD #BD8362 #6FBD62 #629DBD
square
#B062BD #BD8362 #6FBD62 #629DBD
split-complementary
#B062BD #9DBD62 #62BD83
monochromatic
#6A3174 #92439F #B062BD #C68DCF #DBB8E1

Accessibility & contrast

On white

3.94
#B062BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B062BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062BD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062BD#FFFFFF#000000##000000
##B062BD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#557AC0
Deuteranopia (green-blind)
#6C83BA
Tritanopia (blue-blind)
#B26E87
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b062bd;
/* rgb */ color: rgb(176, 98, 189);
/* oklch */ color: oklch(61.9% 0.155 321.7);
Tailwind
colors: {
  custom: {
    50: '#c991d1',
    500: '#b062bd',
    950: '#000000',
  },
}
SCSS
$custom: #b062bd;
$custom-light: #c991d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b062bd",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 291.429,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61925,
    "c": 0.1555,
    "h": 321.7
  },
  "luminance": 0.2164
}

Semantic roles & 50–950 ramp

primary
#B062BD
secondary
#B0D0AB
accent
#D15769
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B062BD

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

Preview Lab → · Contrast checker → · Palette generator →

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