#B04FDF#B04FDF

#B04FDF is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.218 H 312.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B04FDF
RGBrgb(176, 79, 223)
HSLhsl(280, 69%, 59%)
HSVhsv(280, 65%, 87%)
CMYKcmyk(21.1%, 64.6%, 0%, 12.5%)
CIE-LABlab(52.01, 61.86, -56.90)
CIE-LCHlch(52.01, 84.05, 317.39°)
OKLaboklab(61.32% 0.1482 -0.1602)
OKLCHoklch(61.32% 0.218 312.8)
XYZxyz(34.0174, 20.1507, 71.8952)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FDF #7EDF4F
analogous
#684FDF #B04FDF #DF4FC6
triadic
#B04FDF #DFB04F #4FDFB0
tetradic
#B04FDF #DF684F #7EDF4F #4FC6DF
square
#B04FDF #DF684F #7EDF4F #4FC6DF
split-complementary
#B04FDF #C6DF4F #4FDF68
monochromatic
#6F1C98 #9525CC #B04FDF #C783E8 #DEB7F2

Accessibility & contrast

On white

4.17
#B04FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B04FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FDF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FDF#FFFFFF#000000##000000
##B04FDF1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#AB6B90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04fdf;
/* rgb */ color: rgb(176, 79, 223);
/* oklch */ color: oklch(61.3% 0.218 312.8);
Tailwind
colors: {
  custom: {
    50: '#cb86ea',
    500: '#b04fdf',
    950: '#000000',
  },
}
SCSS
$custom: #b04fdf;
$custom-light: #cb86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fdf",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 280.417,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61316,
    "c": 0.21827,
    "h": 312.8
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#B04FDF
secondary
#BBE1A9
accent
#EC3C75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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