#B041CA#B041CA

#B041CA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.217 H 319.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B041CA
RGBrgb(176, 65, 202)
HSLhsl(289, 56%, 52%)
HSVhsv(289, 68%, 79%)
CMYKcmyk(12.9%, 67.8%, 0%, 20.8%)
CIE-LABlab(48.61, 63.67, -50.36)
CIE-LCHlch(48.61, 81.17, 321.66°)
OKLaboklab(58.47% 0.1645 -0.141)
OKLCHoklch(58.47% 0.217 319.4)
XYZxyz(30.4541, 17.2764, 57.5962)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041CA #5BCA41
analogous
#6B41CA #B041CA #CA41A0
triadic
#B041CA #CAB041 #41CAB0
tetradic
#B041CA #CA6B41 #5BCA41 #41A0CA
square
#B041CA #CA6B41 #5BCA41 #41A0CA
split-complementary
#B041CA #A0CA41 #41CA6B
monochromatic
#622071 #8B2DA1 #B041CA #C471D7 #D8A1E5

Accessibility & contrast

On white

4.71
#B041CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B041CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B041CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041CA#FFFFFF#000000##FFFFFF
##B041CA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026CCE
Deuteranopia (green-blind)
#4B77C7
Tritanopia (blue-blind)
#B05A81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b041ca;
/* rgb */ color: rgb(176, 65, 202);
/* oklch */ color: oklch(58.5% 0.217 319.4);
Tailwind
colors: {
  custom: {
    50: '#cb7edb',
    500: '#b041ca',
    950: '#000000',
  },
}
SCSS
$custom: #b041ca;
$custom-light: #cb7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#b041ca",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 288.613,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.21666,
    "h": 319.4
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#B041CA
secondary
#A1D196
accent
#E04865
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B041CA

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

Preview Lab → · Contrast checker → · Palette generator →

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