#B04FD2#B04FD2

#B04FD2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.5% C 0.206 H 316.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B04FD2
RGBrgb(176, 79, 210)
HSLhsl(284, 59%, 57%)
HSVhsv(284, 62%, 82%)
CMYKcmyk(16.2%, 62.4%, 0%, 17.6%)
CIE-LABlab(51.24, 59.21, -50.74)
CIE-LCHlch(51.24, 77.97, 319.40°)
OKLaboklab(60.51% 0.1486 -0.1422)
OKLCHoklch(60.51% 0.206 316.3)
XYZxyz(32.3316, 19.4764, 63.0165)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FD2 #71D24F
analogous
#6F4FD2 #B04FD2 #D24FB3
triadic
#B04FD2 #D2B04F #4FD2B0
tetradic
#B04FD2 #D26F4F #71D24F #4FB3D2
square
#B04FD2 #D26F4F #71D24F #4FB3D2
split-complementary
#B04FD2 #B3D24F #4FD26F
monochromatic
#6B2285 #922EB5 #B04FD2 #C680DE #DCB0EB

Accessibility & contrast

On white

4.29
#B04FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B04FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FD2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FD2#FFFFFF#000000##000000
##B04FD21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2274D6
Deuteranopia (green-blind)
#507DCF
Tritanopia (blue-blind)
#AE6689
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04fd2;
/* rgb */ color: rgb(176, 79, 210);
/* oklch */ color: oklch(60.5% 0.206 316.3);
Tailwind
colors: {
  custom: {
    50: '#cb86e0',
    500: '#b04fd2',
    950: '#000000',
  },
}
SCSS
$custom: #b04fd2;
$custom-light: #cb86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fd2",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 284.427,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60515,
    "c": 0.20565,
    "h": 316.3
  },
  "luminance": 0.19475
}

Semantic roles & 50–950 ramp

primary
#B04FD2
secondary
#B2D9A4
accent
#E2456E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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