#B04FE6#B04FE6

#B04FE6 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.8% C 0.225 H 311.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B04FE6
RGBrgb(176, 79, 230)
HSLhsl(279, 75%, 61%)
HSVhsv(279, 66%, 90%)
CMYKcmyk(23.5%, 65.7%, 0%, 9.8%)
CIE-LABlab(52.44, 63.33, -60.17)
CIE-LCHlch(52.44, 87.35, 316.47°)
OKLaboklab(61.76% 0.1478 -0.1698)
OKLCHoklch(61.76% 0.225 311)
XYZxyz(34.9807, 20.5361, 76.9687)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FE6 #85E64F
analogous
#644FE6 #B04FE6 #E64FD0
triadic
#B04FE6 #E6B04F #4FE6B0
tetradic
#B04FE6 #E6644F #85E64F #4FD0E6
square
#B04FE6 #E6644F #85E64F #4FD0E6
split-complementary
#B04FE6 #D0E64F #4FE664
monochromatic
#7117A3 #961FD9 #B04FE6 #C885EE #E0BAF5

Accessibility & contrast

On white

4.11
#B04FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B04FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FE6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FE6#FFFFFF#000000##000000
##B04FE61.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#3D7FE3
Tritanopia (blue-blind)
#A96E94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b04fe6;
/* rgb */ color: rgb(176, 79, 230);
/* oklch */ color: oklch(61.8% 0.225 311.0);
Tailwind
colors: {
  custom: {
    50: '#cc87ef',
    500: '#b04fe6',
    950: '#000000',
  },
}
SCSS
$custom: #b04fe6;
$custom-light: #cc87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fe6",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 278.543,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61763,
    "c": 0.22511,
    "h": 311
  },
  "luminance": 0.20535
}

Semantic roles & 50–950 ramp

primary
#B04FE6
secondary
#C0E5AC
accent
#D70E56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B04FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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