#B04FC2#B04FC2

#B04FC2 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.6% C 0.190 H 321.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B04FC2
RGBrgb(176, 79, 194)
HSLhsl(291, 49%, 54%)
HSVhsv(291, 59%, 76%)
CMYKcmyk(9.3%, 59.3%, 0%, 23.9%)
CIE-LABlab(50.36, 56.06, -42.96)
CIE-LCHlch(50.36, 70.63, 322.54°)
OKLaboklab(59.59% 0.1482 -0.1195)
OKLCHoklch(59.59% 0.19 321.1)
XYZxyz(30.4370, 18.7186, 53.0383)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FC2 #61C24F
analogous
#764FC2 #B04FC2 #C24F9A
triadic
#B04FC2 #C2B04F #4FC2B0
tetradic
#B04FC2 #C2764F #61C24F #4F9AC2
square
#B04FC2 #C2764F #61C24F #4F9AC2
split-complementary
#B04FC2 #9AC24F #4FC276
monochromatic
#642770 #8D379D #B04FC2 #C47CD2 #D9AAE2

Accessibility & contrast

On white

4.43
#B04FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B04FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FC2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FC2#FFFFFF#000000##000000
##B04FC21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3771C6
Deuteranopia (green-blind)
#5B7BBF
Tritanopia (blue-blind)
#B26181
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04fc2;
/* rgb */ color: rgb(176, 79, 194);
/* oklch */ color: oklch(59.6% 0.190 321.1);
Tailwind
colors: {
  custom: {
    50: '#ca86d5',
    500: '#b04fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b04fc2;
$custom-light: #ca86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fc2",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 290.609,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59588,
    "c": 0.19037,
    "h": 321.1
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#B04FC2
secondary
#A5CF9E
accent
#D85065
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B04FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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