#B04FE9#B04FE9

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

Color values

HEX#B04FE9
RGBrgb(176, 79, 233)
HSLhsl(278, 78%, 61%)
HSVhsv(278, 66%, 91%)
CMYKcmyk(24.5%, 66.1%, 0%, 8.6%)
CIE-LABlab(52.63, 63.96, -61.55)
CIE-LCHlch(52.63, 88.77, 316.10°)
OKLaboklab(61.96% 0.1476 -0.1739)
OKLCHoklch(61.96% 0.228 310.3)
XYZxyz(35.4056, 20.7060, 79.2065)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FE9 #88E94F
analogous
#634FE9 #B04FE9 #E94FD5
triadic
#B04FE9 #E9B04F #4FE9B0
tetradic
#B04FE9 #E9634F #88E94F #4FD5E9
square
#B04FE9 #E9634F #88E94F #4FD5E9
split-complementary
#B04FE9 #D5E94F #4FE963
monochromatic
#7215A9 #971CDF #B04FE9 #C885F0 #E1BCF7

Accessibility & contrast

On white

4.08
#B04FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04FE9#FFFFFF#000000##000000
##B04FE91.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#397FE6
Tritanopia (blue-blind)
#A86F96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b04fe9;
/* rgb */ color: rgb(176, 79, 233);
/* oklch */ color: oklch(62.0% 0.228 310.3);
Tailwind
colors: {
  custom: {
    50: '#cc87f1',
    500: '#b04fe9',
    950: '#000000',
  },
}
SCSS
$custom: #b04fe9;
$custom-light: #cc87f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fe9",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 277.792,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61959,
    "c": 0.22805,
    "h": 310.3
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#B04FE9
secondary
#C2E7AD
accent
#DA0B58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B04FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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