#B04FE1#B04FE1

#B04FE1 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.4% C 0.220 H 312.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B04FE1
RGBrgb(176, 79, 225)
HSLhsl(280, 71%, 60%)
HSVhsv(280, 65%, 88%)
CMYKcmyk(21.8%, 64.9%, 0%, 11.8%)
CIE-LABlab(52.13, 62.28, -57.84)
CIE-LCHlch(52.13, 84.99, 317.12°)
OKLaboklab(61.44% 0.1481 -0.163)
OKLCHoklch(61.44% 0.22 312.3)
XYZxyz(34.2886, 20.2592, 73.3237)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FE1 #80E14F
analogous
#674FE1 #B04FE1 #E14FC9
triadic
#B04FE1 #E1B04F #4FE1B0
tetradic
#B04FE1 #E1674F #80E14F #4FC9E1
square
#B04FE1 #E1674F #80E14F #4FC9E1
split-complementary
#B04FE1 #C9E14F #4FE167
monochromatic
#701A9B #9623CF #B04FE1 #C783EA #DFB8F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04FE1#FFFFFF#000000##000000
##B04FE11.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)
#0077E5
Deuteranopia (green-blind)
#427EDE
Tritanopia (blue-blind)
#AA6C91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04fe1;
/* rgb */ color: rgb(176, 79, 225);
/* oklch */ color: oklch(61.4% 0.220 312.3);
Tailwind
colors: {
  custom: {
    50: '#cb87eb',
    500: '#b04fe1',
    950: '#000000',
  },
}
SCSS
$custom: #b04fe1;
$custom-light: #cb87eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fe1",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 279.863,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61442,
    "c": 0.22023,
    "h": 312.3
  },
  "luminance": 0.20258
}

Semantic roles & 50–950 ramp

primary
#B04FE1
secondary
#BDE2AA
accent
#EE3A76
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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