#B04FD7#B04FD7

#B04FD7 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.8% C 0.210 H 314.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B04FD7
RGBrgb(176, 79, 215)
HSLhsl(283, 63%, 58%)
HSVhsv(283, 63%, 84%)
CMYKcmyk(18.1%, 63.3%, 0%, 15.7%)
CIE-LABlab(51.53, 60.22, -53.13)
CIE-LCHlch(51.53, 80.30, 318.58°)
OKLaboklab(60.82% 0.1485 -0.1492)
OKLCHoklch(60.82% 0.21 314.9)
XYZxyz(32.9642, 19.7295, 66.3485)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FD7 #76D74F
analogous
#6C4FD7 #B04FD7 #D74FBA
triadic
#B04FD7 #D7B04F #4FD7B0
tetradic
#B04FD7 #D76C4F #76D74F #4FBAD7
square
#B04FD7 #D76C4F #76D74F #4FBAD7
split-complementary
#B04FD7 #BAD74F #4FD76C
monochromatic
#6D208C #942BBE #B04FD7 #C681E2 #DDB3EE

Accessibility & contrast

On white

4.25
#B04FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B04FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FD7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FD7#FFFFFF#000000##000000
##B04FD71.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1875DB
Deuteranopia (green-blind)
#4C7DD4
Tritanopia (blue-blind)
#AD688C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04fd7;
/* rgb */ color: rgb(176, 79, 215);
/* oklch */ color: oklch(60.8% 0.210 314.9);
Tailwind
colors: {
  custom: {
    50: '#cb86e4',
    500: '#b04fd7',
    950: '#000000',
  },
}
SCSS
$custom: #b04fd7;
$custom-light: #cb86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fd7",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 282.794,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.21049,
    "h": 314.9
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#B04FD7
secondary
#B5DCA6
accent
#E64271
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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