#B04FE4#B04FE4

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

Color values

HEX#B04FE4
RGBrgb(176, 79, 228)
HSLhsl(279, 73%, 60%)
HSVhsv(279, 65%, 89%)
CMYKcmyk(22.8%, 65.4%, 0%, 10.6%)
CIE-LABlab(52.31, 62.91, -59.24)
CIE-LCHlch(52.31, 86.41, 316.72°)
OKLaboklab(61.63% 0.1479 -0.1671)
OKLCHoklch(61.63% 0.223 311.5)
XYZxyz(34.7015, 20.4244, 75.4980)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FE4 #83E44F
analogous
#654FE4 #B04FE4 #E44FCE
triadic
#B04FE4 #E4B04F #4FE4B0
tetradic
#B04FE4 #E4654F #83E44F #4FCEE4
square
#B04FE4 #E4654F #83E44F #4FCEE4
split-complementary
#B04FE4 #CEE44F #4FE465
monochromatic
#7119A0 #9621D5 #B04FE4 #C884EC #E0B9F4

Accessibility & contrast

On white

4.13
#B04FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04FE4#FFFFFF#000000##000000
##B04FE41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#3F7FE1
Tritanopia (blue-blind)
#AA6D93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b04fe4;
/* rgb */ color: rgb(176, 79, 228);
/* oklch */ color: oklch(61.6% 0.223 311.5);
Tailwind
colors: {
  custom: {
    50: '#cc87ed',
    500: '#b04fe4',
    950: '#000000',
  },
}
SCSS
$custom: #b04fe4;
$custom-light: #cc87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fe4",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 279.06,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61634,
    "c": 0.22316,
    "h": 311.5
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#B04FE4
secondary
#BFE4AB
accent
#D61055
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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