#B041AF#B041AF

#B041AF is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.193 H 328.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B041AF
RGBrgb(176, 65, 175)
HSLhsl(301, 46%, 47%)
HSVhsv(301, 63%, 69%)
CMYKcmyk(0%, 63.1%, 0.6%, 31%)
CIE-LABlab(47.12, 58.78, -37.01)
CIE-LCHlch(47.12, 69.46, 327.81°)
OKLaboklab(56.91% 0.1642 -0.1021)
OKLCHoklch(56.91% 0.193 328.1)
XYZxyz(27.5323, 16.1077, 42.2081)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041AF #41B042
analogous
#7A41B0 #B041AF #B04177
triadic
#B041AF #AFB041 #41AFB0
tetradic
#B041AF #B07A41 #41B042 #4177B0
square
#B041AF #B07A41 #41B042 #4177B0
split-complementary
#B041AF #77B041 #41B07A
monochromatic
#572056 #833083 #B041AF #C767C6 #D794D7

Accessibility & contrast

On white

4.97
#B041AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B041AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041AF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041AF#FFFFFF#000000##FFFFFF
##B041AF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#B54F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b041af;
/* rgb */ color: rgb(176, 65, 175);
/* oklch */ color: oklch(56.9% 0.193 328.1);
Tailwind
colors: {
  custom: {
    50: '#cb7dc7',
    500: '#b041af',
    950: '#000000',
  },
}
SCSS
$custom: #b041af;
$custom-light: #cb7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b041af",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 300.541,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.19336,
    "h": 328.1
  },
  "luminance": 0.16106
}

Semantic roles & 50–950 ramp

primary
#B041AF
secondary
#8AC38A
accent
#D65352
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B041AF

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

Preview Lab → · Contrast checker → · Palette generator →

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