#B04FE3#B04FE3

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

Color values

HEX#B04FE3
RGBrgb(176, 79, 227)
HSLhsl(279, 73%, 60%)
HSVhsv(279, 65%, 89%)
CMYKcmyk(22.5%, 65.2%, 0%, 11%)
CIE-LABlab(52.25, 62.70, -58.77)
CIE-LCHlch(52.25, 85.94, 316.85°)
OKLaboklab(61.57% 0.148 -0.1657)
OKLCHoklch(61.57% 0.222 311.8)
XYZxyz(34.5631, 20.3690, 74.7690)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FE3 #82E34F
analogous
#664FE3 #B04FE3 #E34FCC
triadic
#B04FE3 #E3B04F #4FE3B0
tetradic
#B04FE3 #E3664F #82E34F #4FCCE3
square
#B04FE3 #E3664F #82E34F #4FCCE3
split-complementary
#B04FE3 #CCE34F #4FE366
monochromatic
#70199E #9622D3 #B04FE3 #C884EB #DFB9F4

Accessibility & contrast

On white

4.14
#B04FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B04FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FE3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FE3#FFFFFF#000000##000000
##B04FE31.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#407FE0
Tritanopia (blue-blind)
#AA6D92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b04fe3;
/* rgb */ color: rgb(176, 79, 227);
/* oklch */ color: oklch(61.6% 0.222 311.8);
Tailwind
colors: {
  custom: {
    50: '#cc87ec',
    500: '#b04fe3',
    950: '#000000',
  },
}
SCSS
$custom: #b04fe3;
$custom-light: #cc87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fe3",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 279.324,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.22217,
    "h": 311.8
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#B04FE3
secondary
#BEE3AA
accent
#EF3978
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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