#B04EE6#B04EE6

#B04EE6 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.6% C 0.226 H 311.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B04EE6
RGBrgb(176, 78, 230)
HSLhsl(279, 75%, 60%)
HSVhsv(279, 66%, 90%)
CMYKcmyk(23.5%, 66.1%, 0%, 9.8%)
CIE-LABlab(52.28, 63.77, -60.42)
CIE-LCHlch(52.28, 87.85, 316.54°)
OKLaboklab(61.65% 0.1489 -0.1705)
OKLCHoklch(61.65% 0.226 311.1)
XYZxyz(34.9091, 20.3929, 76.9448)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EE6 #84E64E
analogous
#644EE6 #B04EE6 #E64ED0
triadic
#B04EE6 #E6B04E #4EE6B0
tetradic
#B04EE6 #E6644E #84E64E #4ED0E6
square
#B04EE6 #E6644E #84E64E #4ED0E6
split-complementary
#B04EE6 #D0E64E #4EE664
monochromatic
#7117A3 #961FD8 #B04EE6 #C884EE #E0B9F5

Accessibility & contrast

On white

4.14
#B04EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B04EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04EE6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EE6#FFFFFF#000000##000000
##B04EE61.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#3C7EE3
Tritanopia (blue-blind)
#A96D94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b04ee6;
/* rgb */ color: rgb(176, 78, 230);
/* oklch */ color: oklch(61.6% 0.226 311.1);
Tailwind
colors: {
  custom: {
    50: '#cc86ef',
    500: '#b04ee6',
    950: '#000000',
  },
}
SCSS
$custom: #b04ee6;
$custom-light: #cc86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ee6",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 278.684,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61649,
    "c": 0.22639,
    "h": 311.1
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B04EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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