#B041CC#B041CC

#B041CC is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.218 H 318.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B041CC
RGBrgb(176, 65, 204)
HSLhsl(288, 58%, 53%)
HSVhsv(288, 68%, 80%)
CMYKcmyk(13.7%, 68.1%, 0%, 20%)
CIE-LABlab(48.73, 64.04, -51.32)
CIE-LCHlch(48.73, 82.07, 321.29°)
OKLaboklab(58.59% 0.1644 -0.1438)
OKLCHoklch(58.59% 0.218 318.8)
XYZxyz(30.6924, 17.3717, 58.8514)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041CC #5DCC41
analogous
#6B41CC #B041CC #CC41A2
triadic
#B041CC #CCB041 #41CCB0
tetradic
#B041CC #CC6B41 #5DCC41 #41A2CC
square
#B041CC #CC6B41 #5DCC41 #41A2CC
split-complementary
#B041CC #A2CC41 #41CC6B
monochromatic
#631F74 #8C2CA4 #B041CC #C471D9 #D8A1E6

Accessibility & contrast

On white

4.69
#B041CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B041CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041CC#FFFFFF#000000##FFFFFF
##B041CC1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#B05B82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b041cc;
/* rgb */ color: rgb(176, 65, 204);
/* oklch */ color: oklch(58.6% 0.218 318.8);
Tailwind
colors: {
  custom: {
    50: '#cb7edc',
    500: '#b041cc',
    950: '#000000',
  },
}
SCSS
$custom: #b041cc;
$custom-light: #cb7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#b041cc",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 287.914,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.21844,
    "h": 318.8
  },
  "luminance": 0.1737
}

Semantic roles & 50–950 ramp

primary
#B041CC
secondary
#A2D396
accent
#E14766
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B041CC

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

Preview Lab → · Contrast checker → · Palette generator →

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