#B62FAB#B62FAB

#B62FAB is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.215 H 331.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B62FAB
RGBrgb(182, 47, 171)
HSLhsl(305, 59%, 45%)
HSVhsv(305, 74%, 71%)
CMYKcmyk(0%, 74.2%, 6%, 28.6%)
CIE-LABlab(45.53, 66.14, -37.09)
CIE-LCHlch(45.53, 75.83, 330.71°)
OKLaboklab(55.88% 0.1893 -0.1021)
OKLCHoklch(55.88% 0.215 331.7)
XYZxyz(27.6586, 14.9206, 39.9434)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B62FAB #2FB63A
analogous
#7E2FB6 #B62FAB #B62F67
triadic
#B62FAB #ABB62F #2FABB6
tetradic
#B62FAB #B67E2F #2FB63A #2F67B6
square
#B62FAB #B67E2F #2FB63A #2F67B6
split-complementary
#B62FAB #67B62F #2FB67E
monochromatic
#551650 #85227D #B62FAB #D250C7 #DE81D7

Accessibility & contrast

On white

5.27
#B62FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B62FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B62FAB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B62FAB#FFFFFF#000000##FFFFFF
##B62FAB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AE
Deuteranopia (green-blind)
#5B72A8
Tritanopia (blue-blind)
#BE3F6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b62fab;
/* rgb */ color: rgb(182, 47, 171);
/* oklch */ color: oklch(55.9% 0.215 331.7);
Tailwind
colors: {
  custom: {
    50: '#d076c4',
    500: '#b62fab',
    950: '#000000',
  },
}
SCSS
$custom: #b62fab;
$custom-light: #d076c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b62fab",
  "rgb": {
    "r": 182,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 304.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55884,
    "c": 0.21508,
    "h": 331.7
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

primary
#B62FAB
secondary
#79C780
accent
#E25246
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B62FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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