#B04EEB#B04EEB

#B04EEB is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 62.0% C 0.231 H 309.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B04EEB
RGBrgb(176, 78, 235)
HSLhsl(277, 80%, 61%)
HSVhsv(277, 67%, 92%)
CMYKcmyk(25.1%, 66.8%, 0%, 7.8%)
CIE-LABlab(52.59, 64.82, -62.73)
CIE-LCHlch(52.59, 90.20, 315.94°)
OKLaboklab(61.98% 0.1485 -0.1773)
OKLCHoklch(61.98% 0.231 309.9)
XYZxyz(35.6214, 20.6778, 80.6959)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EEB #89EB4E
analogous
#624EEB #B04EEB #EB4ED8
triadic
#B04EEB #EBB04E #4EEBB0
tetradic
#B04EEB #EB624E #89EB4E #4ED8EB
square
#B04EEB #EB624E #89EB4E #4ED8EB
split-complementary
#B04EEB #D8EB4E #4EEB62
monochromatic
#7213AB #971AE2 #B04EEB #C985F1 #E1BCF7

Accessibility & contrast

On white

4.09
#B04EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B04EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04EEB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EEB#FFFFFF#000000##000000
##B04EEB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#357FE8
Tritanopia (blue-blind)
#A86F96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b04eeb;
/* rgb */ color: rgb(176, 78, 235);
/* oklch */ color: oklch(62.0% 0.231 309.9);
Tailwind
colors: {
  custom: {
    50: '#cc86f2',
    500: '#b04eeb',
    950: '#000000',
  },
}
SCSS
$custom: #b04eeb;
$custom-light: #cc86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04eeb",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 277.452,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61977,
    "c": 0.23126,
    "h": 309.9
  },
  "luminance": 0.20677
}

Semantic roles & 50–950 ramp

primary
#B04EEB
secondary
#C3E8AD
accent
#DC0959
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B04EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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