#B04FDD#B04FDD

#B04FDD is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.216 H 313.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B04FDD
RGBrgb(176, 79, 221)
HSLhsl(281, 68%, 59%)
HSVhsv(281, 64%, 87%)
CMYKcmyk(20.4%, 64.3%, 0%, 13.3%)
CIE-LABlab(51.89, 61.45, -55.97)
CIE-LCHlch(51.89, 83.11, 317.67°)
OKLaboklab(61.19% 0.1483 -0.1575)
OKLCHoklch(61.19% 0.216 313.3)
XYZxyz(33.7494, 20.0435, 70.4835)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FDD #7CDD4F
analogous
#694FDD #B04FDD #DD4FC3
triadic
#B04FDD #DDB04F #4FDDB0
tetradic
#B04FDD #DD694F #7CDD4F #4FC3DD
square
#B04FDD #DD694F #7CDD4F #4FC3DD
split-complementary
#B04FDD #C3DD4F #4FDD69
monochromatic
#6F1D95 #9527C8 #B04FDD #C782E7 #DEB6F1

Accessibility & contrast

On white

4.19
#B04FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B04FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FDD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FDD#FFFFFF#000000##000000
##B04FDD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0177E1
Deuteranopia (green-blind)
#467EDA
Tritanopia (blue-blind)
#AB6A8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04fdd;
/* rgb */ color: rgb(176, 79, 221);
/* oklch */ color: oklch(61.2% 0.216 313.3);
Tailwind
colors: {
  custom: {
    50: '#cb86e8',
    500: '#b04fdd',
    950: '#000000',
  },
}
SCSS
$custom: #b04fdd;
$custom-light: #cb86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fdd",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 280.986,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6119,
    "c": 0.21632,
    "h": 313.3
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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