#B04FEB#B04FEB

#B04FEB is a light, highly saturated violet. Relative luminance 0.208; OKLCH L 62.1% C 0.230 H 309.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B04FEB
RGBrgb(176, 79, 235)
HSLhsl(277, 80%, 62%)
HSVhsv(277, 66%, 92%)
CMYKcmyk(25.1%, 66.4%, 0%, 7.8%)
CIE-LABlab(52.75, 64.38, -62.47)
CIE-LCHlch(52.75, 89.71, 315.86°)
OKLaboklab(62.09% 0.1474 -0.1766)
OKLCHoklch(62.09% 0.23 309.9)
XYZxyz(35.6929, 20.8209, 80.7197)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FEB #8AEB4F
analogous
#624FEB #B04FEB #EB4FD8
triadic
#B04FEB #EBB04F #4FEBB0
tetradic
#B04FEB #EB624F #8AEB4F #4FD8EB
square
#B04FEB #EB624F #8AEB4F #4FD8EB
split-complementary
#B04FEB #D8EB4F #4FEB62
monochromatic
#7214AC #971AE3 #B04FEB #C986F1 #E1BDF7

Accessibility & contrast

On white

4.07
#B04FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B04FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FEB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FEB#FFFFFF#000000##000000
##B04FEB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#367FE8
Tritanopia (blue-blind)
#A87097
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b04feb;
/* rgb */ color: rgb(176, 79, 235);
/* oklch */ color: oklch(62.1% 0.230 309.9);
Tailwind
colors: {
  custom: {
    50: '#cc87f2',
    500: '#b04feb',
    950: '#000000',
  },
}
SCSS
$custom: #b04feb;
$custom-light: #cc87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04feb",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 277.308,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6209,
    "c": 0.23001,
    "h": 309.9
  },
  "luminance": 0.2082
}

Semantic roles & 50–950 ramp

primary
#B04FEB
secondary
#C4E8AE
accent
#DC0A59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B04FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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