#B04FD0#B04FD0

#B04FD0 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.4% C 0.204 H 316.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B04FD0
RGBrgb(176, 79, 208)
HSLhsl(285, 58%, 56%)
HSVhsv(285, 62%, 82%)
CMYKcmyk(15.4%, 62%, 0%, 18.4%)
CIE-LABlab(51.13, 58.80, -49.78)
CIE-LCHlch(51.13, 77.04, 319.75°)
OKLaboklab(60.4% 0.1486 -0.1394)
OKLCHoklch(60.4% 0.204 316.8)
XYZxyz(32.0840, 19.3774, 61.7124)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FD0 #6FD04F
analogous
#704FD0 #B04FD0 #D04FB0
triadic
#B04FD0 #D0B04F #4FD0B0
tetradic
#B04FD0 #D0704F #6FD04F #4FB0D0
square
#B04FD0 #D0704F #6FD04F #4FB0D0
split-complementary
#B04FD0 #B0D04F #4FD070
monochromatic
#6A2382 #9230B2 #B04FD0 #C67FDD #DBB0EA

Accessibility & contrast

On white

4.31
#B04FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B04FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FD0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FD0#FFFFFF#000000##000000
##B04FD01.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2674D4
Deuteranopia (green-blind)
#517DCD
Tritanopia (blue-blind)
#AF6688
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04fd0;
/* rgb */ color: rgb(176, 79, 208);
/* oklch */ color: oklch(60.4% 0.204 316.8);
Tailwind
colors: {
  custom: {
    50: '#cb86df',
    500: '#b04fd0',
    950: '#000000',
  },
}
SCSS
$custom: #b04fd0;
$custom-light: #cb86df;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fd0",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 208
  },
  "hsl": {
    "h": 285.116,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60396,
    "c": 0.20372,
    "h": 316.8
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

primary
#B04FD0
secondary
#B0D8A3
accent
#E1476D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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