#B04FDB#B04FDB

#B04FDB is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.1% C 0.214 H 313.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B04FDB
RGBrgb(176, 79, 219)
HSLhsl(282, 66%, 58%)
HSVhsv(282, 64%, 86%)
CMYKcmyk(19.6%, 63.9%, 0%, 14.1%)
CIE-LABlab(51.77, 61.04, -55.02)
CIE-LCHlch(51.77, 82.18, 317.97°)
OKLaboklab(61.07% 0.1484 -0.1547)
OKLCHoklch(61.07% 0.214 313.8)
XYZxyz(33.4845, 19.9376, 69.0886)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FDB #7ADB4F
analogous
#6A4FDB #B04FDB #DB4FC0
triadic
#B04FDB #DBB04F #4FDBB0
tetradic
#B04FDB #DB6A4F #7ADB4F #4FC0DB
square
#B04FDB #DB6A4F #7ADB4F #4FC0DB
split-complementary
#B04FDB #C0DB4F #4FDB6A
monochromatic
#6E1E92 #9528C5 #B04FDB #C782E5 #DEB5F0

Accessibility & contrast

On white

4.21
#B04FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B04FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FDB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FDB#FFFFFF#000000##000000
##B04FDB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B76DF
Deuteranopia (green-blind)
#487ED8
Tritanopia (blue-blind)
#AC6A8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04fdb;
/* rgb */ color: rgb(176, 79, 219);
/* oklch */ color: oklch(61.1% 0.214 313.8);
Tailwind
colors: {
  custom: {
    50: '#cb86e7',
    500: '#b04fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b04fdb;
$custom-light: #cb86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fdb",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 281.571,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61065,
    "c": 0.21437,
    "h": 313.8
  },
  "luminance": 0.19937
}

Semantic roles & 50–950 ramp

primary
#B04FDB
secondary
#B8DFA7
accent
#E93F73
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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