#B04EE8#B04EE8

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

Color values

HEX#B04EE8
RGBrgb(176, 78, 232)
HSLhsl(278, 77%, 61%)
HSVhsv(278, 66%, 91%)
CMYKcmyk(24.1%, 66.4%, 0%, 9%)
CIE-LABlab(52.40, 64.19, -61.35)
CIE-LCHlch(52.40, 88.79, 316.30°)
OKLaboklab(61.78% 0.1487 -0.1733)
OKLCHoklch(61.78% 0.228 310.6)
XYZxyz(35.1916, 20.5059, 78.4325)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EE8 #86E84E
analogous
#634EE8 #B04EE8 #E84ED3
triadic
#B04EE8 #E8B04E #4EE8B0
tetradic
#B04EE8 #E8634E #86E84E #4ED3E8
square
#B04EE8 #E8634E #86E84E #4ED3E8
split-complementary
#B04EE8 #D3E84E #4EE863
monochromatic
#7116A6 #971DDC #B04EE8 #C884EF #E0BAF6

Accessibility & contrast

On white

4.12
#B04EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B04EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04EE8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EE8#FFFFFF#000000##000000
##B04EE81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#397FE5
Tritanopia (blue-blind)
#A96E95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b04ee8;
/* rgb */ color: rgb(176, 78, 232);
/* oklch */ color: oklch(61.8% 0.228 310.6);
Tailwind
colors: {
  custom: {
    50: '#cc86f0',
    500: '#b04ee8',
    950: '#000000',
  },
}
SCSS
$custom: #b04ee8;
$custom-light: #cc86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ee8",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 278.182,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.22833,
    "h": 310.6
  },
  "luminance": 0.20505
}

Semantic roles & 50–950 ramp

primary
#B04EE8
secondary
#C1E6AC
accent
#D90C57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B04EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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