#B062B3#B062B3

#B062B3 is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.4% C 0.146 H 325.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B062B3
RGBrgb(176, 98, 179)
HSLhsl(298, 35%, 54%)
HSVhsv(298, 45%, 70%)
CMYKcmyk(1.7%, 45.3%, 0%, 29.8%)
CIE-LABlab(53.19, 43.73, -29.83)
CIE-LCHlch(53.19, 52.94, 325.70°)
OKLaboklab(61.44% 0.1204 -0.0818)
OKLCHoklch(61.44% 0.146 325.8)
XYZxyz(30.4082, 21.2216, 45.1335)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062B3 #65B362
analogous
#8862B3 #B062B3 #B3628E
triadic
#B062B3 #B3B062 #62B3B0
tetradic
#B062B3 #B38862 #65B362 #628EB3
square
#B062B3 #B38862 #65B362 #628EB3
split-complementary
#B062B3 #8EB362 #62B388
monochromatic
#663268 #8F4691 #B062B3 #C58BC7 #DAB4DB

Accessibility & contrast

On white

4.00
#B062B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B062B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062B3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062B3#FFFFFF#000000##000000
##B062B31.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B6
Deuteranopia (green-blind)
#7083B0
Tritanopia (blue-blind)
#B46B82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b062b3;
/* rgb */ color: rgb(176, 98, 179);
/* oklch */ color: oklch(61.4% 0.146 325.8);
Tailwind
colors: {
  custom: {
    50: '#c991ca',
    500: '#b062b3',
    950: '#000000',
  },
}
SCSS
$custom: #b062b3;
$custom-light: #c991ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b062b3",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 297.778,
    "s": 34.764,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.14551,
    "h": 325.8
  },
  "luminance": 0.2122
}

Semantic roles & 50–950 ramp

primary
#B062B3
secondary
#A8CAA7
accent
#CB5D61
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B062B3

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

Preview Lab → · Contrast checker → · Palette generator →

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