#B041CF#B041CF

#B041CF is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.221 H 318.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B041CF
RGBrgb(176, 65, 207)
HSLhsl(287, 60%, 53%)
HSVhsv(287, 69%, 81%)
CMYKcmyk(15%, 68.6%, 0%, 18.8%)
CIE-LABlab(48.91, 64.62, -52.76)
CIE-LCHlch(48.91, 83.42, 320.77°)
OKLaboklab(58.78% 0.1643 -0.148)
OKLCHoklch(58.78% 0.221 318)
XYZxyz(31.0557, 17.5170, 60.7647)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041CF #60CF41
analogous
#6941CF #B041CF #CF41A7
triadic
#B041CF #CFB041 #41CFB0
tetradic
#B041CF #CF6941 #60CF41 #41A7CF
square
#B041CF #CF6941 #60CF41 #41A7CF
split-complementary
#B041CF #A7CF41 #41CF69
monochromatic
#641E77 #8D2BA8 #B041CF #C472DB #D9A3E8

Accessibility & contrast

On white

4.66
#B041CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B041CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B041CF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041CF#FFFFFF#000000##FFFFFF
##B041CF1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#AF5C83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b041cf;
/* rgb */ color: rgb(176, 65, 207);
/* oklch */ color: oklch(58.8% 0.221 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb7fde',
    500: '#b041cf',
    950: '#000000',
  },
}
SCSS
$custom: #b041cf;
$custom-light: #cb7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#b041cf",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 286.901,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58777,
    "c": 0.22112,
    "h": 318
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#B041CF
secondary
#A5D497
accent
#E34567
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B041CF

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

Preview Lab → · Contrast checker → · Palette generator →

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