#B04FDE#B04FDE

#B04FDE is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.3% C 0.217 H 313.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B04FDE
RGBrgb(176, 79, 222)
HSLhsl(281, 68%, 59%)
HSVhsv(281, 64%, 87%)
CMYKcmyk(20.7%, 64.4%, 0%, 12.9%)
CIE-LABlab(51.95, 61.65, -56.44)
CIE-LCHlch(51.95, 83.58, 317.53°)
OKLaboklab(61.25% 0.1483 -0.1589)
OKLCHoklch(61.25% 0.217 313)
XYZxyz(33.8830, 20.0970, 71.1873)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FDE #7DDE4F
analogous
#694FDE #B04FDE #DE4FC5
triadic
#B04FDE #DEB04F #4FDEB0
tetradic
#B04FDE #DE694F #7DDE4F #4FC5DE
square
#B04FDE #DE694F #7DDE4F #4FC5DE
split-complementary
#B04FDE #C5DE4F #4FDE69
monochromatic
#6F1C96 #9526CA #B04FDE #C783E8 #DEB6F1

Accessibility & contrast

On white

4.18
#B04FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B04FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FDE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FDE#FFFFFF#000000##000000
##B04FDE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#457EDB
Tritanopia (blue-blind)
#AB6B90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04fde;
/* rgb */ color: rgb(176, 79, 222);
/* oklch */ color: oklch(61.3% 0.217 313.0);
Tailwind
colors: {
  custom: {
    50: '#cb86e9',
    500: '#b04fde',
    950: '#000000',
  },
}
SCSS
$custom: #b04fde;
$custom-light: #cb86e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fde",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 280.699,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61253,
    "c": 0.2173,
    "h": 313
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#B04FDE
secondary
#BAE0A8
accent
#EB3D75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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