#B04FE5#B04FE5

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

Color values

HEX#B04FE5
RGBrgb(176, 79, 229)
HSLhsl(279, 74%, 60%)
HSVhsv(279, 66%, 90%)
CMYKcmyk(23.1%, 65.5%, 0%, 10.2%)
CIE-LABlab(52.38, 63.12, -59.70)
CIE-LCHlch(52.38, 86.88, 316.59°)
OKLaboklab(61.7% 0.1479 -0.1684)
OKLCHoklch(61.7% 0.224 311.3)
XYZxyz(34.8407, 20.4800, 76.2312)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FE5 #84E54F
analogous
#654FE5 #B04FE5 #E54FCF
triadic
#B04FE5 #E5B04F #4FE5B0
tetradic
#B04FE5 #E5654F #84E54F #4FCFE5
square
#B04FE5 #E5654F #84E54F #4FCFE5
split-complementary
#B04FE5 #CFE54F #4FE565
monochromatic
#7118A2 #9620D7 #B04FE5 #C884ED #E0BAF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04FE5#FFFFFF#000000##000000
##B04FE51.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)
#0078EA
Deuteranopia (green-blind)
#3E7FE2
Tritanopia (blue-blind)
#A96D94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b04fe5;
/* rgb */ color: rgb(176, 79, 229);
/* oklch */ color: oklch(61.7% 0.224 311.3);
Tailwind
colors: {
  custom: {
    50: '#cc87ee',
    500: '#b04fe5',
    950: '#000000',
  },
}
SCSS
$custom: #b04fe5;
$custom-light: #cc87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fe5",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 278.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61699,
    "c": 0.22413,
    "h": 311.3
  },
  "luminance": 0.20479
}

Semantic roles & 50–950 ramp

primary
#B04FE5
secondary
#BFE5AB
accent
#D60F56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B04FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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