#B04EE3#B04EE3

#B04EE3 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.5% C 0.223 H 311.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B04EE3
RGBrgb(176, 78, 227)
HSLhsl(279, 73%, 60%)
HSVhsv(279, 66%, 89%)
CMYKcmyk(22.5%, 65.6%, 0%, 11%)
CIE-LABlab(52.09, 63.14, -59.03)
CIE-LCHlch(52.09, 86.44, 316.93°)
OKLaboklab(61.46% 0.1491 -0.1665)
OKLCHoklch(61.46% 0.223 311.8)
XYZxyz(34.4915, 20.2258, 74.7452)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EE3 #81E34E
analogous
#664EE3 #B04EE3 #E34ECC
triadic
#B04EE3 #E3B04E #4EE3B0
tetradic
#B04EE3 #E3664E #81E34E #4ECCE3
square
#B04EE3 #E3664E #81E34E #4ECCE3
split-complementary
#B04EE3 #CCE34E #4EE366
monochromatic
#70199E #9621D3 #B04EE3 #C883EB #DFB8F4

Accessibility & contrast

On white

4.16
#B04EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B04EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04EE3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EE3#FFFFFF#000000##000000
##B04EE31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#AA6C92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04ee3;
/* rgb */ color: rgb(176, 78, 227);
/* oklch */ color: oklch(61.5% 0.223 311.8);
Tailwind
colors: {
  custom: {
    50: '#cc86ec',
    500: '#b04ee3',
    950: '#000000',
  },
}
SCSS
$custom: #b04ee3;
$custom-light: #cc86ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ee3",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 279.463,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61455,
    "c": 0.22347,
    "h": 311.8
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#B04EE3
secondary
#BDE3AA
accent
#EF3877
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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