#B04EE9#B04EE9

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

Color values

HEX#B04EE9
RGBrgb(176, 78, 233)
HSLhsl(278, 78%, 61%)
HSVhsv(278, 67%, 91%)
CMYKcmyk(24.5%, 66.5%, 0%, 8.6%)
CIE-LABlab(52.47, 64.40, -61.81)
CIE-LCHlch(52.47, 89.26, 316.18°)
OKLaboklab(61.85% 0.1486 -0.1746)
OKLCHoklch(61.85% 0.229 310.4)
XYZxyz(35.3340, 20.5628, 79.1827)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EE9 #87E94E
analogous
#624EE9 #B04EE9 #E94ED5
triadic
#B04EE9 #E9B04E #4EE9B0
tetradic
#B04EE9 #E9624E #87E94E #4ED5E9
square
#B04EE9 #E9624E #87E94E #4ED5E9
split-complementary
#B04EE9 #D5E94E #4EE962
monochromatic
#7215A8 #971CDE #B04EE9 #C884F0 #E1BBF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04EE9#FFFFFF#000000##000000
##B04EE91.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)
#0079EE
Deuteranopia (green-blind)
#387FE6
Tritanopia (blue-blind)
#A86E95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b04ee9;
/* rgb */ color: rgb(176, 78, 233);
/* oklch */ color: oklch(61.8% 0.229 310.4);
Tailwind
colors: {
  custom: {
    50: '#cc86f1',
    500: '#b04ee9',
    950: '#000000',
  },
}
SCSS
$custom: #b04ee9;
$custom-light: #cc86f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ee9",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 277.935,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.22931,
    "h": 310.4
  },
  "luminance": 0.20562
}

Semantic roles & 50–950 ramp

primary
#B04EE9
secondary
#C2E7AC
accent
#DA0B57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B04EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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