#B04FED#B04FED

#B04FED is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.2% C 0.232 H 309.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B04FED
RGBrgb(176, 79, 237)
HSLhsl(277, 81%, 62%)
HSVhsv(277, 67%, 93%)
CMYKcmyk(25.7%, 66.7%, 0%, 7.1%)
CIE-LABlab(52.88, 64.81, -63.39)
CIE-LCHlch(52.88, 90.65, 315.64°)
OKLaboklab(62.22% 0.1472 -0.1793)
OKLCHoklch(62.22% 0.232 309.4)
XYZxyz(35.9835, 20.9372, 82.2500)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FED #8CED4F
analogous
#614FED #B04FED #ED4FDB
triadic
#B04FED #EDB04F #4FEDB0
tetradic
#B04FED #ED614F #8CED4F #4FDBED
square
#B04FED #ED614F #8CED4F #4FDBED
split-complementary
#B04FED #DBED4F #4FED61
monochromatic
#7312B0 #9718E7 #B04FED #C987F3 #E2BEF8

Accessibility & contrast

On white

4.05
#B04FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B04FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FED
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FED#FFFFFF#000000##000000
##B04FED1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#3380E9
Tritanopia (blue-blind)
#A77198
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b04fed;
/* rgb */ color: rgb(176, 79, 237);
/* oklch */ color: oklch(62.2% 0.232 309.4);
Tailwind
colors: {
  custom: {
    50: '#cc87f4',
    500: '#b04fed',
    950: '#000000',
  },
}
SCSS
$custom: #b04fed;
$custom-light: #cc87f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fed",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 276.835,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.23197,
    "h": 309.4
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#B04FED
secondary
#C5E9AF
accent
#DE085A
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B04FED

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

Preview Lab → · Contrast checker → · Palette generator →

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